Check that the test database is being used in all the tests

This commit is contained in:
Christopher Baines 2020-02-24 21:16:41 +00:00
parent b337c5fcb2
commit ffdde6ba36
11 changed files with 22 additions and 0 deletions

View file

@ -17,6 +17,8 @@
(with-postgresql-connection
"test-jobs-load-new-guix-revision"
(lambda (conn)
(check-test-database! conn)
(exec-query conn "TRUNCATE guix_revisions CASCADE")
(test-equal "select-job-for-commit works"