Skip to content

Commit b51559b

Browse files
committed
Fix tests
1 parent 63d5878 commit b51559b

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

tests/test_sdk.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def check_model(self, model, database, mock_post):
166166
# get call before last call
167167
mock_call = mock_post.call_args_list[-2]
168168
assert mock_call[1]['json'][
169-
'query'] == f"update models_versions set active=1 where (name = '{model2.name}') AND (version = 3)"
169+
'query'] == f"update models_versions set active=1 where name = '{model2.name}' AND version = 3"
170170

171171
@patch('requests.Session.post')
172172
def check_table(self, table, mock_post):
@@ -1261,17 +1261,6 @@ def test_update(self, mock_get, mock_put, _):
12611261
}
12621262
}
12631263

1264-
print('UPDATED')
1265-
print(updated_agent.name)
1266-
print(updated_agent.model_name)
1267-
print(updated_agent.skills)
1268-
print(updated_agent.params)
1269-
1270-
print('expected')
1271-
print(expected_agent.name)
1272-
print(expected_agent.model_name)
1273-
print(expected_agent.skills)
1274-
print(expected_agent.params)
12751264
assert updated_agent == expected_agent
12761265

12771266

0 commit comments

Comments
 (0)