athena: change test tearDown to setUp (#21935)

old-commit-hash: 1d64c18e499ee4ca51d8fca126488861e9943d4f
This commit is contained in:
Greg Hogan
2021-08-14 22:27:22 -07:00
committed by GitHub
parent e08e5260c6
commit 6cbe7f0749
+1 -1
View File
@@ -31,7 +31,7 @@ class TestAthenadMethods(unittest.TestCase):
athenad.Api = MockApi
athenad.LOCAL_PORT_WHITELIST = set([cls.SOCKET_PORT])
def tearDown(self):
def setUp(self):
athenad.upload_queue = queue.Queue()
athenad.cur_upload_items.clear()