Skip to content

Commit

Permalink
fix the test again
Browse files Browse the repository at this point in the history
  • Loading branch information
pnxenopoulos committed Jun 23, 2024
1 parent cfd0be1 commit 2ccfa74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ def test_remove_nonplay_ticks(self, parsed_state: pd.DataFrame):
assert "event1" in filtered_df["other_data"].to_numpy()
assert "event2" in filtered_df["other_data"].to_numpy()

def test_hltv_rounds(self, hltv_parser: DemoParser):
def test_hltv_rounds(self, hltv_parser: DemoParser, hltv_events: dict[str, pd.DataFrame]):
"""Tests that we can get correct rounds from HLTV demos."""
hltv_rounds = parse_rounds(hltv_parser)
hltv_rounds = parse_rounds(hltv_parser, hltv_events)
assert hltv_rounds.reason.to_numpy().tolist() == [
"ct_killed",
"ct_killed",
Expand Down

0 comments on commit 2ccfa74

Please sign in to comment.