Open KatiRG opened 2 years ago
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
This post notes that pytest-ckan needs to be installed for pytest to work.
pytest-ckan
pip3 install pytest-ckan
TODO: make a note in the readme