Skip to content

Commit

Permalink
Revert "Add placeholder test code to account for RIS citation stub"
Browse files Browse the repository at this point in the history
This reverts commit 2946f3c.
  • Loading branch information
marksparkza committed Dec 18, 2023
1 parent a037378 commit 060f7f9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/api/test_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,8 @@ def assert_metadata_record(schema_id):
has_datacite = True
has_iso19115 = example_record.schema_id == 'SAEON.ISO19115'
has_jsonld = catalog_id == 'MIMS'
has_ris = True

assert len(result['metadata_records']) == has_datacite + has_iso19115 + has_jsonld + has_ris
assert len(result['metadata_records']) == has_datacite + has_iso19115 + has_jsonld

if has_datacite:
assert_metadata_record('SAEON.DataCite4')
Expand All @@ -342,11 +341,6 @@ def assert_metadata_record(schema_id):
if has_jsonld:
assert_metadata_record('SchemaOrg.Dataset')

if has_ris:
pass
# todo:
# assert_metadata_record('RIS.Citation')


@pytest.mark.parametrize('schema_id, json_pointer, expected_value', [
('SAEON.DataCite4', '/titles/0/title', 'Example Metadata Record: ISO19115 - SAEON Profile'),
Expand Down

0 comments on commit 060f7f9

Please sign in to comment.