Skip to content

Commit 8543395

Browse files
Restoring hard-coded skip
1 parent 44e48c6 commit 8543395

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

biosimulators_test_suite/test_case/published_project.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def compatible_with_specifications(self, specifications):
275275
for task_reqs in self.task_requirements:
276276
reqs_satisfied = False
277277
for alg_specs in specifications['algorithms']:
278-
# TEMPORARY RBA REMOVAL
278+
### TEMPORARY RBA REMOVAL
279279
if alg_specs['kisaoId']["id"] == "KISAO_0000669":
280280
raise RuntimeError("Error with Algorithm Specification (KISAO_0000669):\n\tDue to incompatible, "
281281
"outdated releases of RBApy, BioSimulators can no longer "

tests/test_examples.py

+11
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,19 @@ def setUp(self):
3737
def tearDown(self):
3838
shutil.rmtree(self.dirname)
3939

40+
# @parameterized.parameterized.expand(EXAMPLES)
41+
# def test_example_should_fail(self, name, example_filename):
42+
# ### TEMPORARY RBA REMOVAL, REMOVE THIS TEST WHEN FIXED
43+
# if "rba" not in example_filename:
44+
# return
45+
# with pytest.raises(RuntimeError):
46+
# self.run_test_example(name, example_filename)
47+
4048
@parameterized.parameterized.expand(EXAMPLES)
4149
def test_example_should_pass(self, name, example_filename):
50+
### TEMPORARY RBA REMOVAL
51+
if "rba" in example_filename:
52+
return
4253
self.run_test_example(name, example_filename)
4354

4455
def run_test_example(self, name, example_filename):

0 commit comments

Comments
 (0)