mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-06 00:35:44 +08:00
athena: change test tearDown to setUp (#21935)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user