Skip to content

Commit b23a349

Browse files
author
Kevin Kim
committed
Fix tests
1 parent 96fd24e commit b23a349

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/test_global_keys.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def test_long_global_key_validation(client, dataset, image_url):
112112
assert res['results'][0]['global_key'] == gk_1
113113
assert res['errors'][0]['data_row_id'] == dr_2.uid
114114
assert res['errors'][0]['global_key'] == gk_2
115-
assert res['errors'][0]['error'] == 'Invalid Data Row or invalid global key'
115+
assert res['errors'][0][
116+
'error'] == 'Invalid assignment. Either DataRow does not exist, or globalKey is invalid'
116117

117118

118119
def test_global_key_with_whitespaces_validation(client, dataset, image_url):

0 commit comments

Comments
 (0)