Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1114 - 1116 of 2152)

Ticket Resolution Summary Owner Reporter
#1118 invalid tests are testing something other than the behaviour seen in the browser johnlawrenceaspden

Reported by johnlawrenceaspden, 3 years ago.

Description

I'm finding that if I try to take an action with insufficient credentials from a test then I often (but not always) get a 401 error, whereas in the browser I get redirected to the login page.

It's a bit worrying that the program in its test environment doesn't behave like it does in the browser.

#1132 invalid test_authz doesn't run johnlawrenceaspden

Reported by johnlawrenceaspden, 3 years ago.

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)

#1133 worksforme command line rights manipulation doesn't work johnlawrenceaspden

Reported by johnlawrenceaspden, 3 years ago.

Description

It appears that the command

$ paster rights add russianfan admin warandpeace

has no effect, even though

$ paster rights remove russianfan admin warandpeace

works fine. This may be specific to something I've done, could someone confirm?

If it's the case more generally, then I'm assuming this behaviour is untested? Tests should probably be added.

Note: See TracQuery for help on using queries.