Skip to content

Commit 35ebd63

Browse files
committed
cleanup
1 parent 8a81c84 commit 35ebd63

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/test_dataset.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,9 @@ def check_is_expected_response(response):
8585
check_is_expected_response(response)
8686

8787
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] == []
9288
# Creation
9389
ds = CLIENT.create_dataset(TEST_DATASET_NAME)
9490
assert isinstance(ds, Dataset)
9591
# List of Autotags should be empty
9692
autotag_response = CLIENT.list_autotags(ds.id)
97-
check_is_expected_response(autotag_response)
93+
assert autotag_response == []

0 commit comments

Comments
 (0)