[ckan-changes] [okfn/ckan] 495d15: [#714] Fix an intermittently failing test
GitHub
noreply at github.com
Mon Apr 8 15:14:26 UTC 2013
Branch: refs/heads/tracking-fixes
Home: https://github.com/okfn/ckan
Commit: 495d1521ebacad5281d06c02ab21963bd6f4e13d
https://github.com/okfn/ckan/commit/495d1521ebacad5281d06c02ab21963bd6f4e13d
Author: Sean Hammond <seanhammond at lavabit.com>
Date: 2013-04-08 (Mon, 08 Apr 2013)
Changed paths:
M ckan/tests/logic/test_action.py
Log Message:
-----------
[#714] Fix an intermittently failing test
This test depends on the order of the two datasets. The default sort
order has changed now to most-recently-modified-first when there's no
search query, and since the test creates the two datasets in a random
order the search returns the datasets in a different order each time the
test is run, giving a 50/50 chance that the test will fail.
Change the test to not depend on the fixed order of the datasets.
More information about the ckan-changes
mailing list