Skip to content

Commit

Permalink
tests for media_parameters dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanAugust committed Jan 29, 2024
1 parent 254adef commit 807058b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,10 @@ def test_load_cfg():

def test_cfg_base_keys():
cfg = load_parameters.cfg
assert 'basic_params' in cfg.keys()
assert 'basic_params' in cfg.keys()

def test_media_cfg_check():
cfg = load_parameters.cfg
media_params = load_parameters.media_parameters(**cfg['media'])
media_params.check(basic_params=load_parameters.my_basic_params)
assert True == True

0 comments on commit 807058b

Please sign in to comment.