mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 14:43:57 +08:00
* split bridge into two files
* fix metadrive
* fix tests too
old-commit-hash: 5af5469c66
16 lines
413 B
Python
Executable File
16 lines
413 B
Python
Executable File
#!/usr/bin/env python3
|
|
import unittest
|
|
|
|
from openpilot.tools.sim.run_bridge import parse_args
|
|
from openpilot.tools.sim.bridge.metadrive.metadrive_bridge import MetaDriveBridge
|
|
from openpilot.tools.sim.tests.test_sim_bridge import TestSimBridgeBase
|
|
|
|
|
|
class TestMetaDriveBridge(TestSimBridgeBase):
|
|
def create_bridge(self):
|
|
return MetaDriveBridge(parse_args([]))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|