From 043c6608b4ba8ac33d0e05f3e2202584465f3a6e Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 12 Jan 2021 12:14:56 -0600 Subject: [PATCH] Improve formatting in API tests --- tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_api.py b/tests/test_api.py index 1115655..0fbfb16 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -407,7 +407,6 @@ class TweepyAPITests(TweepyTestCase): self.assertFalse(self.api.cached_result) - class TweepyCacheTests(unittest.TestCase): timeout = 0.5 memcache_servers = ['127.0.0.1:11211'] # must be running for test to pass @@ -453,5 +452,6 @@ class TweepyCacheTests(unittest.TestCase): if os.path.exists('cache_test_dir'): shutil.rmtree('cache_test_dir') + if __name__ == '__main__': unittest.main() -- 2.25.1