Skip to content

Commit 93d0614

Browse files
committed
Adjust tests to reflect properties
1 parent 3447454 commit 93d0614

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test_project_api.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ def test_create_project(self, mock_request, api_instance=api):
4848
@patch('maproulette.api.maproulette_server.requests.Session.post')
4949
def test_add_challenge_to_project(self, mock_request, api_instance=api):
5050
test_virtual_project_model = maproulette.ProjectModel(name='Test Virtual Project Name',
51-
id=1234,
52-
is_virtual=True)
51+
id=1234)
5352
test_challenge_model = maproulette.ChallengeModel(name='Test Challenge Name',
5453
id=246)
5554
test_virtual_project_id = test_virtual_project_model.id
@@ -61,8 +60,7 @@ def test_add_challenge_to_project(self, mock_request, api_instance=api):
6160
@patch('maproulette.api.maproulette_server.requests.Session.post')
6261
def test_remove_challenge_from_project(self, mock_request, api_instance=api):
6362
test_virtual_project_model = maproulette.ProjectModel(name='Test Virtual Project Name',
64-
id=1234,
65-
is_virtual=True)
63+
id=1234)
6664
test_challenge_model = maproulette.ChallengeModel(name='Test Challenge Name', id=246)
6765
test_virtual_project_id = test_virtual_project_model.id
6866
test_challenge_id = test_challenge_model.id

0 commit comments

Comments
 (0)