Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create conftest.py for storing global pytest fixtures in test_kda.py #31

Closed
nawtrey opened this issue Jun 20, 2021 · 0 comments · Fixed by #89
Closed

Create conftest.py for storing global pytest fixtures in test_kda.py #31

nawtrey opened this issue Jun 20, 2021 · 0 comments · Fixed by #89
Labels

Comments

@nawtrey
Copy link
Collaborator

nawtrey commented Jun 20, 2021

It would be nice to have a conftest.py for storing global pytest fixtures in test_kda.py, such as StateProbs3, StateProbs4, etc. This would just clean up the primary testing module a bit, and allow other modules access to them if need be.

nawtrey added a commit that referenced this issue Aug 4, 2024
* Adds a `conftest.py` for storing testing fixtures
for use generally across all tests. Eventually
we might add fixtures for generating the commonly
used kinetic diagrams (3-state, 4-state, etc.)
to simplify tests in the long run.

* Moves hardcoded state probability functions
to `conftest.py` with `scope="class"` so they
are only created once

* Fixes #31
nawtrey added a commit that referenced this issue Aug 4, 2024
* Adds a `conftest.py` for storing testing fixtures
for use generally across all tests. Eventually
we might add fixtures for generating the commonly
used kinetic diagrams (3-state, 4-state, etc.)
to simplify tests in the long run.

* Moves hardcoded state probability functions
to `conftest.py` with `scope="class"` so they
are only created once

* Fixes #31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant