Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pad Groups and Org names from factories with zeros
The test in ckan/tests/controllers/test_group.py would sometimes fail when run in an unfortunate order. The `test_page_thru_list_of_orgs_preserves_sort_order` and `test_page_thru_list_of_groups_preserves_sort_order` would fail because some organizations had already been created by oyher tests and the numbering would start a 5 instead of 1. And because the sorting was done via strings (so `Group 5` came after `Group 31` the test would fail. By always padding them with zeros this should not happend anymore and make the tests more stable (So it is `Group 05` now).
- Loading branch information