Skip to content

don't break if we can't get the last timestamp #87

don't break if we can't get the last timestamp

don't break if we can't get the last timestamp #87

GitHub Actions / pytest results succeeded Jan 18, 2025 in 1s

44 passed, 0 failed and 2 skipped

Tests passed successfully

✅ tests/test-results.xml

46 tests were completed in 15s with 44 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
pytest 44✅ 2⚪ 15s

✅ pytest

tests.unit.test_aifunctions
  ✅ test_force_valid_json_string[{'game_length': -1}-{"game_length": -1}]
  ✅ test_force_valid_json_string[json_input1-{"game_length": -1}]
  ✅ test_force_valid_json_string[{"game_length": -1}-{"game_length": -1}]
  ✅ test_force_valid_json_string[-unix_timestamp-{"unix_timestamp": -1}]
  ✅ test_force_valid_json_string[unix_timestamp-{"unix_timestamp": 1}]
  ✅ test_force_valid_json_string[{"player.name": "corcki"}-{"player.name": "corcki"}]
  ✅ test_max_docstring_length[QueryReplayDB]
  ✅ test_max_docstring_length[AddMetadata]
  ✅ test_max_docstring_length[GetCurrentGameInfo]
  ✅ test_function_meta_wrong_input
  ✅ test_clean_tag[smurf,cheese,proxy-expected0]
  ✅ test_clean_tag[smurf          ,       cheese,proxy-expected1]
  ✅ test_clean_tag[Keywords: smurf-expected2]
  ✅ test_clean_tag[Keywords: smurf, cheese, proxy-expected3]
  ✅ test_clean_tag[The essential keywords for this game are: "void ray,charge,colossus,immortal,roach,corruptor,timing". to replay-expected4]
tests.unit.test_config
  ✅ test_load_config
tests.unit.test_parse_map_loading_screen
  ✅ test_cutout_portrait[alcyone le - Darkcabal vs zatic 2024-01-09 16-29-38.png-darkcabal_manual_portrait.png]
  ✅ test_tesseract[alcyone le - Darkcabal vs zatic 2024-01-09 16-29-38.png]
tests.unit.test_reader
  ✅ test_replay_typing[Equilibrium LE (84).SC2Replay]
  ✅ test_default_projection_time[Equilibrium LE (84).SC2Replay]
  ✅ test_default_projection_chrono[Radhuset Station LE (85) ZvP chrono.SC2Replay]
  ✅ test_default_projection_workers[Radhuset Station LE (85) ZvP chrono.SC2Replay]
  ✅ test_is_gg[ggwp-True]
  ✅ test_is_gg[fu-False]
  ✅ test_is_gg[ggggg-True]
  ✅ test_is_gg[bg-False]
  ✅ test_is_gg[gg-True]
  ✅ test_is_gg[GG-True]
  ✅ test_replaystats_worker_micro[Goldenaura LE (282) 2 base Terran tank allin.SC2Replay-expected0]
  ✅ test_apm_tracker_division_by_zero[NeoHumanity LE (279) Division By Zero.SC2Replay]
  ✅ test_worker_tracker[Equilibrium LE (84).SC2Replay]
  ✅ test_spending_quotient[Equilibrium LE (84).SC2Replay]
  ✅ test_player_stats_tracker[Equilibrium LE (84).SC2Replay]
  ⚪ test_apm_archon_mode[Romanticide LE (164) Archon Mode.SC2Replay]
  ⚪ test_apm_archon_mode[Oxide LE (147) Archon Mode.SC2Replay]
  ✅ test_parse_chrono_boost[Radhuset Station LE (85) ZvP chrono.SC2Replay]
tests.unit.test_sc2client
  ✅ test_uiinfo_equality_loading
  ✅ test_uiinfo_equality_menus
tests.unit.test_sc2pulse
  ✅ test_convert_race
tests.unit.test_types
  ✅ test_validate_toonhandle[2-S2-1-6861867-True]
  ✅ test_validate_toonhandle[2-S1-31-False]
  ✅ test_validate_toonhandle[2-S1-34444-1-1-1-False]
  ✅ test_validate_toonhandle[value3-False]
  ✅ test_validate_toonhandle[False-False]
  ✅ test_validate_toonhandle[111111111111111111-False]
  ✅ test_twitch_result_types