Skip to content

Commit

Permalink
remove nosetests
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Apr 21, 2020
1 parent 0fc88a3 commit 4f67b0c
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 1,796 deletions.
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,20 +430,6 @@ Running the Tests
=================


To run the tests on CKAN >= 2.9, do:
To run the tests:

pytest --ckan-ini=test.ini ckanext/scheming/tests


To run the tests on CKAN <= 2.8, do:

```nosetests --ckan --nologcapture --with-pylons=test.ini ckanext/scheming/tests/nose```

and

```nosetests --ckan --nologcapture --with-pylons=test_subclass.ini ckanext.scheming.tests.nose.test_dataset_display ckanext.scheming.tests.nose.test_form:TestDatasetFormNew ckanext.scheming.tests.nose.test_dataset_logic```

To run the tests and produce a coverage report, first make sure you have
coverage installed in your virtualenv (``pip install coverage``) then run:

```nosetests --ckan --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.scheming.tests.nose --cover-inclusive --cover-erase --cover-tests```
Empty file.
26 changes: 0 additions & 26 deletions ckanext/scheming/tests/nose/mock_pylons_request.py

This file was deleted.

115 changes: 0 additions & 115 deletions ckanext/scheming/tests/nose/test_dataset_display.py

This file was deleted.

19 changes: 0 additions & 19 deletions ckanext/scheming/tests/nose/test_dataset_logic.py

This file was deleted.

Loading

0 comments on commit 4f67b0c

Please sign in to comment.