Georges-Antoine Assi
fc85fcb6a9
fix pytests
2024-09-09 00:01:37 -04:00
Georges-Antoine Assi
ecc021e824
Merge branch 'master' into calc-file-hashes-roms
2024-07-27 12:17:18 -04:00
Michael Manganiello
aced1f1ff2
misc: Migrate IGDBBaseHandler to async
...
Convert `IGDBBaseHandler` methods to be asynchronous, and use an `httpx`
async client, instead of `requests` sync client.
This change also removes the direct dependency with `requests`, as the
project no longer uses it, preferring `httpx` instead.
2024-07-26 21:19:01 -03:00
Georges-Antoine Assi
efc0b75cdb
Merge branch 'master' into calc-file-hashes-roms
2024-07-25 22:42:46 -04:00
Michael Manganiello
959e896aa3
misc: Replace pytest-vcr dependency with pytest-recording
...
`pytest-vcr` [1] is no longer maintained (last commit was in 2020), and
`VCR.py` recommends [2] `pytest-recording` instead.
Also, `pytest-vcr` does not correctly support `httpx` [3].
This change also removes unused cassettes.
[1] https://github.com/ktosiek/pytest-vcr
[2] https://vcrpy.readthedocs.io/en/latest/usage.html#pytest-integration
[3] https://github.com/ktosiek/pytest-vcr/issues/46
2024-07-24 12:39:41 -03:00
Georges-Antoine Assi
2e91c440e3
Read into mem in chunks
2024-07-16 17:42:25 -04:00
Georges-Antoine Assi
2b2ff875ee
Calculate hashes for rom files
2024-07-15 18:27:29 -04:00
zurdi
ed67cfff12
fixed unit tests
2024-06-17 18:05:48 +02:00
Georges-Antoine Assi
652047ad66
update test cassettes
2024-06-15 12:18:01 -04:00
Georges-Antoine Assi
a62794ba48
fix scan rom test
2024-05-22 09:47:15 -04:00
Georges-Antoine Assi
a7cf0d389a
run trunk format on all files
2024-05-21 10:18:13 -04:00
Zurdi
956a9fb647
clean utils folder
2024-02-06 23:03:44 +01:00
Zurdi
3de72d075c
fixed tests
2024-02-05 11:28:39 +01:00
Zurdi
066f640089
fixed tests
2024-02-01 09:48:47 +01:00
Zurdi
720a9617bc
fixed unit tests
2024-01-19 15:10:01 +01:00
Georges-Antoine Assi
5f7f860a5c
Eliminate 400s on scan when trying to fetch cover but no igdb ID
2024-01-05 14:27:49 -05:00
Georges-Antoine Assi
92759ff0b3
Fix tests
2023-12-30 21:20:59 -05:00
Georges-Antoine Assi
74bf74c8f5
Hotfix scan and search bugs
2023-12-30 19:13:12 -05:00
Georges-Antoine Assi
faf02a3be1
Fix tests
2023-12-05 18:14:25 -05:00
Georges-Antoine Assi
0c20c83a93
Fix some tests
2023-09-03 20:34:42 -04:00
Georges-Antoine Assi
88ac2a7353
introduce mypy with lib types + remove ignores + fix types
2023-08-08 23:31:59 -04:00
Georges-Antoine Assi
6c43b322bd
Patch in ps2/opl support for game scanning
2023-08-08 17:45:33 -04:00
Georges-Antoine Assi
a813403077
Fix igdb tests
2023-08-03 19:47:56 -04:00
zurdi
cac59de0b7
updated get_rom cassette
2023-08-02 14:07:13 +02:00
Georges-Antoine Assi
ebe557c6f0
Refactor + add tests for igdb handler
2023-08-01 00:20:09 -04:00