Skip to content

Commit

Permalink
final thing
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Aug 18, 2023
1 parent ab4ec38 commit 61a1b26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion messaging/tests/test_fake.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import multiprocessing
import platform
from parameterized import parameterized_class
from typing import Optional

import cereal.messaging as messaging

Expand Down Expand Up @@ -67,9 +68,10 @@ def test_wait_zero_timeout(self):
@unittest.skipIf("ZMQ" in os.environ, "FakeSockets not supported on ZMQ")
@parameterized_class([{"prefix": None}, {"prefix": "test"}])
class TestFakeSockets(unittest.TestCase):
prefix = None
prefix: Optional[str] = None

def setUp(self):
print(self.prefix)
messaging.toggle_fake_events(True)
if self.prefix is not None:
messaging.set_fake_prefix(self.prefix)
Expand Down

0 comments on commit 61a1b26

Please sign in to comment.