From 872fc1afdb461391386ef4940d8a0d53ad7a5d0b Mon Sep 17 00:00:00 2001 From: Ali Sinan Saglam Date: Tue, 21 Sep 2021 11:22:05 -0400 Subject: [PATCH] fixing action test case for the new action scheme --- tests/test_bionetgen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_bionetgen.py b/tests/test_bionetgen.py index da08287..7f06fa9 100644 --- a/tests/test_bionetgen.py +++ b/tests/test_bionetgen.py @@ -85,7 +85,7 @@ def test_action_loading(): # tests a BNGL file containing all BNG actions all_action_model = os.path.join(*[tfold, "models", "actions", "all_actions.bngl"]) m1 = bng.bngmodel(all_action_model) - assert len(m1.actions) == 29 + assert len(m1.actions) + len(m1.actions.before_model) == 29 no_action_model = os.path.join(*[tfold, "models", "actions", "no_actions.bngl"]) m2 = bng.bngmodel(no_action_model)