Skip to content

Commit

Permalink
Restoring hard-coded skip
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Sep 19, 2024
1 parent 44e48c6 commit 8543395
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion biosimulators_test_suite/test_case/published_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def compatible_with_specifications(self, specifications):
for task_reqs in self.task_requirements:
reqs_satisfied = False
for alg_specs in specifications['algorithms']:
# TEMPORARY RBA REMOVAL
### TEMPORARY RBA REMOVAL
if alg_specs['kisaoId']["id"] == "KISAO_0000669":
raise RuntimeError("Error with Algorithm Specification (KISAO_0000669):\n\tDue to incompatible, "
"outdated releases of RBApy, BioSimulators can no longer "
Expand Down
11 changes: 11 additions & 0 deletions tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,19 @@ def setUp(self):
def tearDown(self):
shutil.rmtree(self.dirname)

# @parameterized.parameterized.expand(EXAMPLES)
# def test_example_should_fail(self, name, example_filename):
# ### TEMPORARY RBA REMOVAL, REMOVE THIS TEST WHEN FIXED
# if "rba" not in example_filename:
# return
# with pytest.raises(RuntimeError):
# self.run_test_example(name, example_filename)

@parameterized.parameterized.expand(EXAMPLES)
def test_example_should_pass(self, name, example_filename):
### TEMPORARY RBA REMOVAL
if "rba" in example_filename:
return
self.run_test_example(name, example_filename)

def run_test_example(self, name, example_filename):
Expand Down

0 comments on commit 8543395

Please sign in to comment.