Skip to content

Commit

Permalink
coverage'
Browse files Browse the repository at this point in the history
git push
  • Loading branch information
mavaylon1 committed Mar 15, 2024
1 parent 0602a53 commit d66145d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/unit/test_term_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,9 @@ def tearDown(self):
def test_get_loaded_config(self):
load_termset_config(config_path='tests/unit/hdmf_config.yaml', return_map=True)
loaded_config = get_loaded_config()
config = {'namespaces':
{'hdmf-common':
{'version': '3.12.2',
'data_types': {'VectorData': {'description': 'example_test_term_set.yaml'}}}}}
config = {'namespaces': {'hdmf-common': {'version': '3.12.2',
'data_types': {'VectorData': {'description': 'example_test_term_set.yaml'},
'VectorIndex': {'data': '...'}}}}}

self.assertEqual(loaded_config, config)

Expand Down Expand Up @@ -302,7 +301,8 @@ def test_load_config(self):
config = get_loaded_config()
self.assertEqual(config,
{'namespaces': {'hdmf-common': {'version': '3.12.2',
'data_types': {'VectorData': {'description': 'example_test_term_set.yaml'}}}}})
'data_types': {'VectorData': {'description': 'example_test_term_set.yaml'},
'VectorIndex': {'data': '...'}}}}})

def test_validate_with_config(self):
data = VectorData(name='foo', data=[0], description='Homo sapiens')
Expand Down

0 comments on commit d66145d

Please sign in to comment.