mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-20 21:42:05 +08:00
5af5469c66
* split bridge into two files * fix metadrive * fix tests too
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()
|