1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-12-22 12:12:18 +01:00

tests/test_check.py: Use dcterms.subject instead of dc.subject

Trying to move some old DC fields to DCTERMS.
This commit is contained in:
Alan Orth 2021-03-11 11:45:25 +02:00
parent 3dbe656f9f
commit 0089efa914
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -224,7 +224,7 @@ def test_check_invalid_agrovoc(capsys):
"""Test invalid AGROVOC subject."""
value = "FOREST"
field_name = "dc.subject"
field_name = "dcterms.subject"
check.agrovoc(value, field_name)
@ -239,7 +239,7 @@ def test_check_valid_agrovoc():
"""Test valid AGROVOC subject."""
value = "FORESTS"
field_name = "dc.subject"
field_name = "dcterms.subject"
result = check.agrovoc(value, field_name)