Skip to content

Some playground code #113

Some playground code

Some playground code #113

GitHub Actions / pytest results succeeded Dec 29, 2024 in 0s

30 passed, 0 failed and 0 skipped

Tests passed successfully

✅ tests/test-results.xml

30 tests were completed in 11s with 30 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 30✅ 11s

✅ 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_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]
tests.unit.test_sc2client
  ✅ test_uiinfo_equality_loading
  ✅ test_uiinfo_equality_menus
tests.unit.test_sc2pulse
  ✅ test_convert_race