diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-07-12 15:48:35 +0900 |
|---|---|---|
| committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-07-24 14:51:49 +0900 |
| commit | 6f97e564d7dbd2e354e51deadef86e4eb5d38ea4 (patch) | |
| tree | ab8ac2ad229fe0aabde45685a1d7de611fc32222 /tests | |
| parent | ec2b805bf282e0a548ee0ebc0ed6d48e71da953e (diff) | |
| download | pygerrit-6f97e564d7dbd2e354e51deadef86e4eb5d38ea4.tar.gz | |
Minor refactoring of unit tests
Rename the existing unit test to be more meaningful. New unit
tests will be added in later commits.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/gerrit_stream/unittest_gerrit_stream/README | 1 | ||||
| -rw-r--r-- | tests/gerrit_stream/unittest_gerrit_stream_attach_detach/README | 2 | ||||
| -rwxr-xr-x | tests/gerrit_stream/unittest_gerrit_stream_attach_detach/command (renamed from tests/gerrit_stream/unittest_gerrit_stream/command) | 0 | ||||
| -rwxr-xr-x | tests/gerrit_stream/unittest_gerrit_stream_attach_detach/status (renamed from tests/gerrit_stream/unittest_gerrit_stream/status) | 0 | ||||
| -rwxr-xr-x | tests/gerrit_stream/unittest_gerrit_stream_attach_detach/unittests.py (renamed from tests/gerrit_stream/unittest_gerrit_stream/unittests.py) | 5 |
5 files changed, 5 insertions, 3 deletions
diff --git a/tests/gerrit_stream/unittest_gerrit_stream/README b/tests/gerrit_stream/unittest_gerrit_stream/README deleted file mode 100755 index a46d206..0000000 --- a/tests/gerrit_stream/unittest_gerrit_stream/README +++ /dev/null @@ -1 +0,0 @@ -Runs the unit tests for the gerrit_stream module. diff --git a/tests/gerrit_stream/unittest_gerrit_stream_attach_detach/README b/tests/gerrit_stream/unittest_gerrit_stream_attach_detach/README new file mode 100644 index 0000000..e24975b --- /dev/null +++ b/tests/gerrit_stream/unittest_gerrit_stream_attach_detach/README @@ -0,0 +1,2 @@ +Checks that the attach and detach methods work properly in the +GerritStream class. diff --git a/tests/gerrit_stream/unittest_gerrit_stream/command b/tests/gerrit_stream/unittest_gerrit_stream_attach_detach/command index d188609..d188609 100755 --- a/tests/gerrit_stream/unittest_gerrit_stream/command +++ b/tests/gerrit_stream/unittest_gerrit_stream_attach_detach/command diff --git a/tests/gerrit_stream/unittest_gerrit_stream/status b/tests/gerrit_stream/unittest_gerrit_stream_attach_detach/status index 573541a..573541a 100755 --- a/tests/gerrit_stream/unittest_gerrit_stream/status +++ b/tests/gerrit_stream/unittest_gerrit_stream_attach_detach/status diff --git a/tests/gerrit_stream/unittest_gerrit_stream/unittests.py b/tests/gerrit_stream/unittest_gerrit_stream_attach_detach/unittests.py index 93f9925..a8dc272 100755 --- a/tests/gerrit_stream/unittest_gerrit_stream/unittests.py +++ b/tests/gerrit_stream/unittest_gerrit_stream_attach_detach/unittests.py @@ -44,8 +44,9 @@ class ListenerWithValidHandler(): pass -class TestGerritStream(unittest.TestCase): - """ Test that the GerritStream class behaves correctly. +class TestGerritStreamAttachDetach(unittest.TestCase): + """ Test that the attach and detach methods in the GerritStream + class behave correctly. """ def test_listener_no_handler(self): |
