diff options
author | Christian Schwede <christian.schwede@enovance.com> | 2014-05-20 14:49:49 +0000 |
---|---|---|
committer | Christian Schwede <christian.schwede@enovance.com> | 2014-05-20 14:54:41 +0000 |
commit | 876238a134d6f0332eeea57e03c3858b452895a1 (patch) | |
tree | 8ccb2d90169cc6555ceba302ab9e3a7c27a135ff /tests/functional/test_swiftclient.py | |
parent | 761ba3770b4b555309ca79bb6604f078a2ef2c3b (diff) | |
download | python-swiftclient-876238a134d6f0332eeea57e03c3858b452895a1.tar.gz |
Remove testtools.main() call from tests
There is no testtools.main() at all (this was a
unittest.main() before). Let's remove this unused
and non-working code.
The following code can be used if someone needs
to start tests manually:
python -m unittest <test_file.py>
Change-Id: Id5162ac73825584df6c23dbe68786ff3355fc6ae
Diffstat (limited to 'tests/functional/test_swiftclient.py')
-rw-r--r-- | tests/functional/test_swiftclient.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/functional/test_swiftclient.py b/tests/functional/test_swiftclient.py index 6631d36..328efac 100644 --- a/tests/functional/test_swiftclient.py +++ b/tests/functional/test_swiftclient.py @@ -17,7 +17,6 @@ import os import testtools import time import types -import unittest from io import BytesIO from six.moves import configparser @@ -284,7 +283,3 @@ class TestFunctional(testtools.TestCase): def test_get_capabilities(self): resp = self.conn.get_capabilities() self.assertTrue(resp.get('swift')) - - -if __name__ == '__main__': - unittest.main() |