Skip to content

Commit

Permalink
one more dict test
Browse files Browse the repository at this point in the history
  • Loading branch information
augray committed Aug 30, 2024
1 parent 36d8643 commit 91577f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ def test_upload_from_dicts_invalid(mock_client: MockAirtrainClient): # noqa: F8
with pytest.raises(ValueError):
upload_from_dicts([])

with pytest.raises(ValueError):
upload_from_dicts(["foo" for _ in range(0, 10)])


def test_upload_from_dicts_embedded(mock_client: MockAirtrainClient): # noqa: F811
data = [
Expand Down

0 comments on commit 91577f1

Please sign in to comment.