-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Configure doctests #574
Configure doctests #574
Conversation
@pedrocamargo before opening this PR, I'd like to check with you if it's ok if we don't test the strings in docs/source/useful_information/validation_benchmarking/traffic_assignment.rst. In this test, we use TNPT files stored locally, so it's a bit more complicated to write tests with doctest. If you want, we can also add tests to docs/source/modeling_with_aequilibrae/static_traffic_assignment/assignment_mechanics.rst. I'll probably have to create a project folder for it, and re-write part of the code blocks. |
This PR finishes the doctest setup for the existing code in docstrings within AequilibraE documentation. Due to testing limitations, some tests were removed.
In this PR we:
doctest_namespace
in conftest.py to make the code less cluttereddocstest_namespace
variables