Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionic1251 committed Dec 7, 2023
1 parent 81a3f6a commit 4043c90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recommender-back/src/tests/apis/poi_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def test_json_in_correct_form(self):
test_poi.weather = weather
test_poi.sun = sun
test_poi.not_accessible_for = not_accessible_for
print(test_poi)
expected_json = {
"name": 'Test POI',
"weather": {
Expand All @@ -73,7 +74,8 @@ def test_json_in_correct_form(self):
"longitude": 61,
"category": "Open air pools and beaches",
"catetype": None,
"not_accessible_for": not_accessible_for
"not_accessible_for": not_accessible_for,
'all_categories': categories
}

test_json = test_poi.get_json()
Expand Down

0 comments on commit 4043c90

Please sign in to comment.