mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
ef4fd5ab4f
Along with the buildsystem changes to make `make check` work.
18 lines
409 B
Scheme
18 lines
409 B
Scheme
(define-module (test-model-derivation)
|
|
#:use-module (srfi srfi-64)
|
|
#:use-module (guix-data-service database)
|
|
#:use-module (guix-data-service model derivation))
|
|
|
|
(test-begin "test-model-derivation")
|
|
|
|
(with-postgresql-connection
|
|
(lambda (conn)
|
|
(test-equal "valid-systems"
|
|
'()
|
|
(valid-systems conn))
|
|
|
|
(test-equal "count-derivations"
|
|
'("0")
|
|
(count-derivations conn))))
|
|
|
|
(test-end)
|