-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests to work with updated CFFConvert semantics
As a bonus, I made the test email address RFC 6761 compliant
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ def codemeta(): | |
"author": [ | ||
{ | ||
"@type": "Person", | ||
"name": "Author" | ||
"givenName": "Author" | ||
} | ||
], | ||
"name": "Title" | ||
|
@@ -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 | ||
""" | ||
|
@@ -76,8 +76,8 @@ def codemeta_with_email(): | |
"author": [ | ||
{ | ||
"@type": "Person", | ||
"email": "[email protected]", | ||
"name": "Author" | ||
"email": "[email protected]", | ||
"familyName": "Author" | ||
} | ||
], | ||
"name": "Title" | ||
|
@@ -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 | ||
""" | ||
|