Ticket #1132 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

test_authz doesn't run

Reported by: johnlawrenceaspden Owned by:
Priority: awaiting triage Milestone: ckan-backlog
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

Trying to run the tests in test_authz.py with

$ nosetests --ckan ckan/tests/functional/test_authz.py results in no tests being run:


Ran 0 tests in 0.840s

OK (SKIP=3)

Change History

comment:1 Changed 3 years ago by johnlawrenceaspden

  • Type changed from enhancement to defect
  • Milestone set to longterm

comment:2 Changed 3 years ago by dread

  • Status changed from new to closed
  • Resolution set to invalid

Yes, these are apparently search-related and so are skipped when testing under sqlite. See README.rst for more info.

Compare with this:

$ nosetests --ckan --with-pylons=test-core.ini ckan/tests/functional/test_authz.py

............................................
----------------------------------------------------------------------
Ran 44 tests in 69.287s

OK
Note: See TracTickets for help on using tickets.