Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed May 15, 2024
1 parent 7ff4a89 commit a30335c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion indra/tests/test_pysb_assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,9 @@ def test_contact_map_cycles_1():
assert len(graph.nodes()) == 9, len(graph.nodes)
assert len(graph.edges()) == 9, len(graph.edges)

cycles = get_cm_cycles(graph)
# Specify the root node to be 0 - corresponding to Agent 'a' - to
# ensure that the order of the output cycles is predictable
cycles = get_cm_cycles(graph, root_node=0)
assert len(cycles) == 1, cycles
assert cycles[0] == ['a(b)', 'b(a)', 'b(c)', 'c(b)', 'c(a)', 'a(c)']

Expand Down

0 comments on commit a30335c

Please sign in to comment.