~ruther/guix-local

477b87186f65117a798e823af719d5af58cbbe06 — Sharlatan Hellseher 6 months ago cd71016
gnu: python-dkist: Fix tests.

* gnu/packages/astronomy.scm (python-dkist)[arguments] <test-flags>:
Ignore benchmark tests.
[native-inputs]: Remove python-pytest-benchmark.

Change-Id: Id71d740c568e2c0e70b6452bf770e635c1267b4e
1 files changed, 5 insertions(+), 1 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +5 -1
@@ 3761,6 3761,11 @@ Cesium.")
     (list
      #:test-flags
      #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
              ;; When python-pytest-benchmark is added: Benchmarks are
              ;; automatically disabled because xdist plugin is
              ;; active.Benchmarks cannot be performed reliably in a
              ;; parallelized environment.
              "--ignore=dkist/tests/test_benchmarks.py"
              ;; Network access is required.
              "--deselect=dkist/net/tests/test_client.py::test_fetch_with_headers")
      #:phases


@@ 3773,7 3778,6 @@ Cesium.")
    (native-inputs
     (list python-pydot
           python-pytest
           python-pytest-benchmark
           python-pytest-cov
           python-pytest-doctestplus
           python-pytest-filter-subpackage