athena: change test tearDown to setUp (#21935)

pull/21937/head
Greg Hogan 2021-08-14 22:27:22 -07:00 committed by GitHub
parent 9e0bbab9ed
commit 1d64c18e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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()