'test_dbc_parser: ensure we're running on real DBCs'

Split from https://github.com/commaai/opendbc/pull/828
This commit is contained in:
Shane Smiskol 2023-08-05 00:03:47 -07:00
parent 5b80c0cb28
commit 46b59dd99e
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ from opendbc.can.tests import ALL_DBCS
class TestDBCParser(unittest.TestCase):
def test_enough_dbcs(self):
# sanity check that we're running on the real DBCs
self.assertGreater(len(ALL_DBCS), 20)
def test_parse_all_dbcs(self):
"""
Dynamic DBC parser checks: