Skip to content

Commit

Permalink
add clone test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent committed Mar 21, 2024
1 parent 7b1d748 commit 10b8fd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ def test_relative_refs(relative_refs, spec):
spec_path = relative_refs / spec
specification = Specification.load(spec_path)
assert "$ref" not in specification.raw
# clone specification
specification_clone = specification.clone()
assert "$ref" not in specification_clone.raw


@pytest.fixture
Expand Down

0 comments on commit 10b8fd9

Please sign in to comment.