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

Error running pytest #207

Open
KatiRG opened this issue Mar 16, 2022 · 1 comment
Open

Error running pytest #207

KatiRG opened this issue Mar 16, 2022 · 1 comment
Assignees

Comments

@KatiRG
Copy link
Collaborator

KatiRG commented Mar 16, 2022

cd ckanext-ontario_theme/
pytest --ckan-ini=test.ini ckanext/ontario_theme/tests/
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --ckan-ini=test.ini
  inifile: None
  rootdir: /usr/lib/ckan/default/src/ckanext-ontario_theme
@KatiRG
Copy link
Collaborator Author

KatiRG commented Mar 16, 2022

This post notes that pytest-ckan needs to be installed for pytest to work.

pip3 install pytest-ckan

TODO: make a note in the readme

@KatiRG KatiRG self-assigned this Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant