From 3195476421b031a6b8516404a56a1a75dc91acbb Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Thu, 28 Jul 2011 22:44:43 +0200 Subject: [PATCH] Rename old send tests to queue_send --- tests/utils/network/connection_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/utils/network/connection_test.py b/tests/utils/network/connection_test.py index 16ec3979..e96d1852 100644 --- a/tests/utils/network/connection_test.py +++ b/tests/utils/network/connection_test.py @@ -314,7 +314,7 @@ class ConnectionTest(unittest.TestCase): self.assertEqual(0, gobject.source_remove.call_count) self.assertEqual(None, self.mock.timeout_id) - def test_send_acquires_and_releases_lock(self): + def test_queue_send_acquires_and_releases_lock(self): self.mock.send_lock = Mock() self.mock.send_buffer = '' @@ -322,7 +322,7 @@ class ConnectionTest(unittest.TestCase): self.mock.send_lock.acquire.assert_called_once_with(True) self.mock.send_lock.release.assert_called_once_with() - def test_send_appends_to_send_buffer(self): + def test_queue_send_appends_to_send_buffer(self): self.mock.send_lock = Mock() self.mock.send_buffer = '' @@ -335,7 +335,7 @@ class ConnectionTest(unittest.TestCase): network.Connection.queue_send(self.mock, '') self.assertEqual('abcdef', self.mock.send_buffer) - def test_send_calls_enable_send(self): + def test_queue_send_calls_enable_send(self): self.mock.send_lock = Mock() self.mock.send_buffer = ''