Skip to content

Commit

Permalink
ENH: Update JSON key description and test name
Browse files Browse the repository at this point in the history
skipci
  • Loading branch information
cortadocodes committed Mar 1, 2022
1 parent eba4c08 commit 38cb2df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_twine.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_broken_json_twine(self):
with self.assertRaises(exceptions.InvalidTwineJson):
Twine(source=invalid_json_twine)

def test_error_raised_if_datasets_not_given_as_dictionary_in_manifest_strands(self):
def test_deprecation_warning_issued_if_datasets_not_given_as_dictionary_in_manifest_strands(self):
"""Test that, if datasets are given as a list in the manifest strands, a deprecation warning is issued and the
list (the old form) is converted to a dictionary (the new form).
"""
Expand Down
2 changes: 1 addition & 1 deletion twined/schema/twine_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"description": "A list of entries, each describing a dataset that should be attached to / made available to the digital twin",
"patternProperties": {
".+": {
"description": "A dataset description mapped to a textual key uniquely identifying the dataset within the application/twin",
"description": "A dataset representation whose property name/key uniquely identifies the dataset to the service",
"type": "object",
"properties": {
"purpose": {
Expand Down

0 comments on commit 38cb2df

Please sign in to comment.