Order the result of Collection.all()
Adjust the test for the new order of Collection.all()
Let's request a specific collection when we want a specific collection
Order the results of PackageListing.by_package_id
Add a little debugging code for jenkins
Apparently dateutile.parser.parse can throw ValueError or TypeError exceptions
Rollback after exceptions are caught, even in the tests
We should rollback but also commit when/where needed
And some more missing commits to the database in the tests
Circumvent tests issues by testing the observed results are identical to the expectations
Another place where we circumvent tests issues
First the layout of the ACLs table in the package info page

The way the ACL dict was generated had a bug which was introducing duplicated information
resulting on a wrong formating of the ACL table in the template.
The ACLs completion should be evaluated per person not globaly

This was nicely pointed out by the unit-tests
Have the method is_pkg_admin use a provided session

This fixes problem encountered when running the unit-tests using faitout
thus on postgresql where it was not using quite the same session to connect
to the database and was thus resulting in a SIGENV being sent to postgres
Adjust the calls to is_pkg_admin
Fix bug in unorphan_package

We only check if the user is a packager, not trying to unorphan a package
for someone else or part of the appropriate group if the user is not a pkgdb_admin
We do not care about the 'approveacls' ACL on orphaned packages.
Create a FAITOUT_URL variable allowing to easily switch the faitout server
Add a get_critpath_packages to PackageListing
Add a create_package_critpath method for the unit-tests
Test the Packagelisting.get_critpath_packages