Skip to content

Commit c5727fe

Browse files
tests: fix failing tests
1 parent 262c8c9 commit c5727fe

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

tests/unit/test_fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_fixture_categories(app, script_info, db, es, location):
9191
res = runner.invoke(cli_categories, [], obj=script_info)
9292
assert res.exit_code == 0
9393
categories = RecordMetadata.query.all()
94-
assert len(categories) == 7
94+
assert len(categories) == 8
9595
for category in categories:
9696
assert "VIDEO" in category.json["types"]
9797

tests/unit/test_schema_datacite.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def test_video_metadata_tranform(app, video_record_metadata, recid_pid):
4343
{"creatorName": "pluto"},
4444
{"creatorName": "zio paperino"},
4545
],
46+
"contributors": [],
4647
"dates": [{"date": "2017-03-02", "dateType": "Issued"}],
4748
"descriptions": [
4849
{

0 commit comments

Comments
 (0)