athena: change test tearDown to setUp (#21935)

old-commit-hash: 1d64c18e49
commatwo_master
Greg Hogan 4 years ago committed by GitHub
parent e08e5260c6
commit 6cbe7f0749
  1. 2
      selfdrive/athena/tests/test_athenad.py

@ -31,7 +31,7 @@ class TestAthenadMethods(unittest.TestCase):
athenad.Api = MockApi athenad.Api = MockApi
athenad.LOCAL_PORT_WHITELIST = set([cls.SOCKET_PORT]) athenad.LOCAL_PORT_WHITELIST = set([cls.SOCKET_PORT])
def tearDown(self): def setUp(self):
athenad.upload_queue = queue.Queue() athenad.upload_queue = queue.Queue()
athenad.cur_upload_items.clear() athenad.cur_upload_items.clear()

Loading…
Cancel
Save