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

Improve documentation: README, doctests #51

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Improve documentation: README, doctests #51

wants to merge 3 commits into from

Conversation

nealmcb
Copy link
Collaborator

@nealmcb nealmcb commented Jun 23, 2018

Update README.md, add working examples
Automate test_audit_orders() via doctest
Fix some documentation

nealmcb added 2 commits June 23, 2018 07:58
And fix some documentation
Note: some of the existing examples still don't work, e.g. referencing
the missing election CO-2017-11
and using the `python` command, which most distros define to be python2
@nealmcb nealmcb changed the title Automate test_audit_orders() via doctest Improve documentation: README, doctests Jun 23, 2018
And configure doctests for pytest
@nealmcb
Copy link
Collaborator Author

nealmcb commented Jun 23, 2018

Running pytest-3 as recommended works fine in the code directory. But in the root directory it runs into this error:

experiments/2017-09-17-scalability/scalability.py:7: in <module>
    import structure
E   ModuleNotFoundError: No module named 'structure'
!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!

I can't find any structure module to import.
Is that whole experiments directory obsolete?

@ron-rivest
Copy link
Owner

ron-rivest commented Jun 24, 2018 via email

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

Successfully merging this pull request may close these issues.

2 participants