athena: change test tearDown to setUp (#21935)

This commit is contained in:
Greg Hogan
2021-08-14 22:27:22 -07:00
committed by GitHub
parent 9e0bbab9ed
commit 1d64c18e49
+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()