MCPcopy Index your code
hub / github.com/Breakthrough/PySceneDetect / test_load_empty_stats

Function test_load_empty_stats

tests/test_stats_manager.py:92–98  ·  view source on GitHub ↗

Test loading an empty stats file, ensuring it results in no errors.

(tmp_path: Path)

Source from the content-addressed store, hash-verified

90
91
92def test_load_empty_stats(tmp_path: Path):
93 """Test loading an empty stats file, ensuring it results in no errors."""
94 path = tmp_path.joinpath("stats.csv")
95 with open(path, "w"):
96 pass
97 stats_manager = StatsManager()
98 stats_manager.load_from_csv(path)
99
100
101def test_save_no_detect_scenes(tmp_path: Path):

Callers

nothing calls this directly

Calls 2

load_from_csvMethod · 0.95
StatsManagerClass · 0.90

Tested by

no test coverage detected