MCPcopy Create free account
hub / github.com/LaihoE/Python-demoparser / test_header

Method test_header

tests/parser_test.py:22–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 self.parser = DemoParser(demo_path)
21
22 def test_header(self):
23 header = self.parser.parse_header()
24 correct_header = joblib.load(os.path.join(os.path.dirname(
25 __file__), 'correct_outputs', 'header.pkl'))
26 self.assertEqual(header, correct_header)
27
28 def test_events(self):
29 events = self.parser.parse_events("")

Callers

nothing calls this directly

Calls 1

parse_headerMethod · 0.80

Tested by

no test coverage detected