Skip to content

Commit 8dd18c2

Browse files
committed
fixed assert for 3.5
1 parent 4da41d1 commit 8dd18c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_model_management.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_create_performance_definition():
5656
get_project.return_value['predictionVariable'] = 'predicted'
5757
_ = mm.create_performance_definition('model', 'TestLibrary', 'TestData')
5858

59-
post.assert_called_once()
59+
assert post.call_count == 1
6060
url, data = post.call_args
6161

6262
assert PROJECT['id'] == data['json']['projectId']

0 commit comments

Comments
 (0)