projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b2f8e3
)
Improve formatting in API tests
author
Harmon
<Harmon758@gmail.com>
Tue, 12 Jan 2021 18:14:56 +0000
(12:14 -0600)
committer
Harmon
<Harmon758@gmail.com>
Tue, 12 Jan 2021 18:14:56 +0000
(12:14 -0600)
tests/test_api.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/test_api.py
b/tests/test_api.py
index 1115655e0ac9bbb58eb688eeed944ed570dc1bcb..0fbfb169839be165ad3ecb3bb12fa5c43aa8af06 100644
(file)
--- 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()