Skip to content

Commit

Permalink
tests: Added connectivity length check
Browse files Browse the repository at this point in the history
  • Loading branch information
gtdang authored and ntolley committed Jun 27, 2024
1 parent 6e4f0b9 commit 4b7fdd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hnn_core/tests/test_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def test_no_network_connectivity(self, tmp_path):
model_template=None)
net_json = read_network_configuration(outpath)
assert net_json == net_params
# Should only have external drive connections defined, n=22
assert len(net_json.connectivity) == len(net_params.connectivity) == 22

def test_convert_to_json_legacy(self, tmp_path):
"""Tests conversion of a param legacy file to json"""
Expand Down

0 comments on commit 4b7fdd7

Please sign in to comment.