Skip to content

Commit

Permalink
Increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatal1ty committed Nov 20, 2023
1 parent 0dd4a92 commit 58e5285
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_jsonschema/test_json_schema_common.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from mashumaro.config import BaseConfig
from mashumaro.jsonschema.schema import Instance


def test_instance_get_configs():
instance = Instance(int)
assert instance.get_owner_config() is BaseConfig
assert instance.get_self_config() is BaseConfig

derived = instance.derive()
assert derived.get_self_config() is instance.get_self_config()

0 comments on commit 58e5285

Please sign in to comment.