~ruther/guix-local

7054b29185202902381d03199fe3d02f7fd066b5 — Nicolas Graves 4 months ago 4b82c01
gnu: beancount: Ignore network-related failing tests.

* gnu/packages/finance.scm (beancount)[arguments]<#:test-flags>:
Ignore network-related failing tests.

Change-Id: Id6688a6b57bfb9e609d2e158fce57f4fe59022c2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 10 insertions(+), 5 deletions(-)

M gnu/packages/finance.scm
M gnu/packages/finance.scm => gnu/packages/finance.scm +10 -5
@@ 2060,11 2060,16 @@ that allows you to run services and through them access the Bitcoin Cash network
    (arguments
     (list
      #:test-flags
      #~(list "-k" (string-append
                    ;; ModuleNotFoundError: No module named 'pytest'
                    "not test_parse_stdin"
                    ;; AssertionError: 5 not greater than 20
                    " and not test_setup"))
      #~(list
         ;; These tests require network.
         "--ignore=beancount/web/web_test.py"
         "-k" (string-join
               (list "not test_parse_stdin" ; ModuleNotFoundError: 'pytest'
                     "test_setup" ; AssertionError: 5 not greater than 20
                     ;; Require network
                     "test_bake_archive__known"
                     "test_bake_directory")
               " and not "))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'relax-requirements