feat: estimate game duration from genres and tags
CI / test (push) Successful in 15s

This commit is contained in:
strsv committed 2026-11-06 17:21:21 +03:00
1 parent b65c8c39fe
commit b2ab347129
18 files changed
+166 -25

No files matched your search

+2
View File
@@ -127,6 +127,8 @@ class ImportSteamTests(unittest.TestCase):
hits = [r[0] for r in con.execute(
"SELECT appid FROM game_fts WHERE game_fts MATCH 'alpha*'")]
self.assertEqual(hits, [100])
self.assertEqual(alpha["estimated_hours"], 30)
self.assertEqual(self._game(con, 200)["estimated_hours"], 8)
def test_incremental_keeps_metadata_and_preserves_personal(self):
con = self._run({100: game_info("Old Name", review=80)})