diff options
Diffstat (limited to 'tests/debbugs.scm')
-rw-r--r-- | tests/debbugs.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/debbugs.scm b/tests/debbugs.scm index 6631b9f..bda53e1 100644 --- a/tests/debbugs.scm +++ b/tests/debbugs.scm @@ -43,4 +43,11 @@ given by REPLACEMENT." ('data-dir data-dir))) ((@@ (mumi debbugs) bug-id->summary-file) 26095))) +(test-equal "bug-id->summary-file: return active summary file" + (format #f "~a/spool/db-h/99/33299.summary" data-dir) + (mock ((mumi config) %config + (match-lambda + ('data-dir data-dir))) + ((@@ (mumi debbugs) bug-id->summary-file) 33299))) + (test-end "debbugs") |