athena: change test tearDown to setUp (#21935)
parent
9e0bbab9ed
commit
1d64c18e49
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue