mirror of
https://github.com/rommapp/romm.git
synced 2026-06-30 07:45:52 +00:00
Fix tests
This commit is contained in:
@@ -70,7 +70,7 @@ interactions:
|
||||
code: 200
|
||||
message: OK
|
||||
- request:
|
||||
body: fields id, name; where slug="not_real";
|
||||
body: fields id, name; where slug="not-real";
|
||||
headers:
|
||||
Accept:
|
||||
- application/json
|
||||
|
||||
@@ -13,8 +13,8 @@ def test_get_platform():
|
||||
assert platform["igdb_id"] == 4
|
||||
assert platform["name"] == "Nintendo 64"
|
||||
|
||||
platform = igdbh.get_platform("not_real")
|
||||
assert platform == {"igdb_id": None, "name": "not_real"}
|
||||
platform = igdbh.get_platform("not-real")
|
||||
assert platform == {"igdb_id": None, "name": "Not Real"}
|
||||
|
||||
|
||||
@pytest.mark.vcr()
|
||||
|
||||
Reference in New Issue
Block a user