Skip to content

Commit

Permalink
test: updated check_equal_networks of test_gui.py
Browse files Browse the repository at this point in the history
This function is a stand-in function for the __eq__ method used only in the tests.
  • Loading branch information
gtdang committed Sep 26, 2024
1 parent 5549d18 commit 73df65e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hnn_core/tests/test_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def check_drive(drive1, drive2, keys):
'connectivity', 'copy', 'gid_to_type',
'plot_cells', 'set_cell_positions',
'to_dict', 'write_configuration',
'external_drives', 'external_biases'])
'external_drives', 'external_biases',
'update_weights'])
attrs_to_check = [x for x in all_attrs if x not in attrs_to_ignore]
for attr in attrs_to_check:
check_equality(getattr(net1, attr), getattr(net2, attr),
Expand Down

0 comments on commit 73df65e

Please sign in to comment.