Skip to content

Commit

Permalink
Fix tests to work with updated CFFConvert semantics
Browse files Browse the repository at this point in the history
As a bonus, I made the test email address RFC 6761 compliant
  • Loading branch information
led02 committed Aug 3, 2023
1 parent c355957 commit bf70a2d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/hermes_test/commands/harvest/test_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def codemeta():
"author": [
{
"@type": "Person",
"name": "Author"
"givenName": "Author"
}
],
"name": "Title"
Expand All @@ -34,7 +34,7 @@ def valid_minimal_cff(tmp_path):
cff = """\
cff-version: 1.2.0
authors:
- name: Author
- given-names: Author
message: Message
title: Title
"""
Expand Down Expand Up @@ -76,8 +76,8 @@ def codemeta_with_email():
"author": [
{
"@type": "Person",
"email": "[email protected]",
"name": "Author"
"email": "[email protected]",
"familyName": "Author"
}
],
"name": "Title"
Expand All @@ -89,8 +89,8 @@ def valid_minimal_cff_with_email(tmp_path):
cff = """\
cff-version: 1.2.0
authors:
- name: Author
email: [email protected]
- family-names: Author
email: [email protected]
message: Message
title: Title
"""
Expand Down

0 comments on commit bf70a2d

Please sign in to comment.