Skip to content

Commit

Permalink
updates to test files and init
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Jan 8, 2024
1 parent befcc47 commit b5fddb9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
9 changes: 5 additions & 4 deletions biosimulator_processes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
from warnings import warn
from process_bigraph import process_registry
from biosimulator_processes.cobra_process import CobraProcess
from biosimulator_processes.copasi_process import CopasiProcess
#from biosimulator_processes.tellurium_process import TelluriumProcess #, TelluriumStep
from biosimulator_processes.tellurium_process import TelluriumProcess # , TelluriumStep
from biosimulator_processes.smoldyn_process import SmoldynProcess


# register processes
process_registry.register('cobra', CobraProcess)
process_registry.register('copasi', CopasiProcess)
#process_registry.register('tellurium_process', TelluriumProcess)
# process_registry.register('tellurium_step', TelluriumStep)
process_registry.register('smoldyn_process', SmoldynProcess)
process_registry.register('tellurium_process', TelluriumProcess)

# TODO: Eventually integrate this Step implementation
# process_registry.register('tellurium_step', TelluriumStep)

6 changes: 1 addition & 5 deletions biosimulator_processes/tests/test_copasi.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
from process_bigraph import Composite, pf, process_registry
from biosimulator_processes.copasi_process import CopasiProcess


process_registry.register(CopasiProcess, 'copasi')
from process_bigraph import Composite, pf


def test_process():
Expand Down
5 changes: 3 additions & 2 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[pytest]
addopts = --ignore=setup.py
addopts = --ignore=setup.py -ra
# addopts = -ra --ignore=setup.py
python_files = *.py
python_functions = test_*
#addopts = --doctest-modules --strict-markers
testpaths = core_processes/tests
testpaths = biosimulator_processes/tests
markers =
slow: indicates slow tests (deselect with '-m "not slow"')

0 comments on commit b5fddb9

Please sign in to comment.