We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a81c84 commit 35ebd63Copy full SHA for 35ebd63
tests/test_dataset.py
@@ -85,13 +85,9 @@ def check_is_expected_response(response):
85
check_is_expected_response(response)
86
87
def test_dataset_list_autotags(CLIENT):
88
- def check_is_expected_response(response):
89
- resp_json = response.json()
90
- assert AUTOTAGS_KEY in resp_json[AUTOTAGS_KEY]
91
- assert resp_json[AUTOTAGS_KEY] == []
92
# Creation
93
ds = CLIENT.create_dataset(TEST_DATASET_NAME)
94
assert isinstance(ds, Dataset)
95
# List of Autotags should be empty
96
autotag_response = CLIENT.list_autotags(ds.id)
97
- check_is_expected_response(autotag_response)
+ assert autotag_response == []
0 commit comments