Update galaxy and database unit tests. (#21209)

* Update galaxy unit tests to work from tmp dir.
* Fix sorting of database tests.
This commit is contained in:
Matt Clay 2017-02-09 11:24:09 -08:00 committed by GitHub
parent 4189592701
commit 2b9a0fb952
2 changed files with 8 additions and 2 deletions

View file

@ -73,8 +73,8 @@ HOW_MANY_DOTS = (
'PostgreSQL does not support column with more than 4 dots'),
)
VALID_QUOTES = ((test, VALID[test]) for test in VALID)
INVALID_QUOTES = ((test[0], test[1], INVALID[test]) for test in INVALID)
VALID_QUOTES = sorted((test, VALID[test]) for test in VALID)
INVALID_QUOTES = sorted((test[0], test[1], INVALID[test]) for test in INVALID)
@pytest.mark.parametrize("identifier, quoted_identifier", VALID_QUOTES)