Fix tests

This commit is contained in:
Georges-Antoine Assi
2023-12-05 18:14:25 -05:00
parent 2695661021
commit faf02a3be1
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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()