aboutsummaryrefslogtreecommitdiff
path: root/tests/model-derivation.scm
blob: 59f3f75010a15f991dd4dd22780f365491edf899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(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
 "test-model-derivation"
 (lambda (conn)
   (check-test-database! conn)

   (test-equal "count-derivations"
     '("0")
     (count-derivations conn))))

(test-end)