From 876238a134d6f0332eeea57e03c3858b452895a1 Mon Sep 17 00:00:00 2001 From: Christian Schwede Date: Tue, 20 May 2014 14:49:49 +0000 Subject: 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 Change-Id: Id5162ac73825584df6c23dbe68786ff3355fc6ae --- tests/functional/test_swiftclient.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/functional/test_swiftclient.py') 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() -- cgit v1.2.1