Skip to content

Commit 241f914

Browse files
committed
Remove duplicate tests, and not-to-be-tested parameters
- Remove duplicate tests of __get_item__ on tuples - This includes test parameters that we decided not to test, as the API doesn't see them as valid (list inputs), although they're supported at runtime. - Related: #403 (comment)
1 parent 3262691 commit 241f914

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

test/hermes_test/model/types/test_ld_context.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,20 +111,6 @@ def test_get_item_item_from_prefixed_vocabulary_raises_on_term_not_exist(ctx, no
111111
)
112112

113113

114-
@pytest.mark.parametrize(
115-
"compacted,expanded",
116-
[
117-
([None, "maintainer"], "https://codemeta.github.io/terms/maintainer"),
118-
(["schema", "Organization"], "http://schema.org/Organization"),
119-
((None, "maintainer"), "https://codemeta.github.io/terms/maintainer"),
120-
(("schema", "Organization"), "http://schema.org/Organization"),
121-
],
122-
)
123-
def test_get_valid_non_str_items(ctx, compacted, expanded):
124-
"""Context returns fully expanded terms for valid non-string inputs."""
125-
assert ctx[compacted] == expanded
126-
127-
128114
@pytest.mark.parametrize(
129115
"non_str,error_type",
130116
[(0, TypeError), (None, TypeError), ([], ValueError), ({"foo"}, ValueError)],

0 commit comments

Comments
 (0)