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

Function gen_events_tests

tests/gen_test.py:13–17  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

11
12
13def gen_events_tests(file):
14 parser = DemoParser(file)
15 events = parser.parse_events("")
16 with gzip.open("correct_outputs/events.gz", 'wt', encoding='UTF-8') as zipfile:
17 json.dump(events, zipfile)
18
19def gen_tick_tests(file):
20 parser = DemoParser(file)

Callers 1

gen_test.pyFile · 0.85

Calls 2

parse_eventsMethod · 0.95
DemoParserClass · 0.85

Tested by

no test coverage detected