~ruther/guix-local

10c8e10d30218f2784afff38109fe9e4799a7707 — Nicolas Graves 5 months ago da57db0
gnu: python-zeroconf: Ignore failing tests.

* gnu/packages/python-xyz.scm (python-zeroconf)
[arguments]<#:test-flags>: Ignore additional failing test.
[native-inputs]: Add python-pytest-asyncio. Remove python-wheel.

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

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +15 -9
@@ 31326,7 31326,7 @@ library in Python.")
    (version "0.38.1")
    (source
     (origin
       (method git-fetch)               ; no tests in PyPI release
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/jstasiak/python-zeroconf")
             (commit version)))


@@ 31337,14 31337,20 @@ library in Python.")
    (arguments
     (list
      #:test-flags
      #~(list "-k" (string-append
                    ;; Networking isn't available for these tests.
                    "not test_integration_with_listener_ipv6"
                    " and not test_launch_and_close_v4_v6"
                    " and not test_launch_and_close_context_manager"
                    " and not test_launch_and_close"
                    " and not test_close_multiple_times"))))
    (native-inputs (list python-pytest python-setuptools python-wheel))
      #~(list
         "-k" (string-append
               ;; XXX: Despite asyncio, this test fails.
               "not test_run_coro_with_timeout and not "
               ;; XXX: Networking isn't available.
               (string-join
                (list "test_integration_with_listener_ipv6"
                      "test_launch_and_close_v4_v6"
                      "test_launch_and_close_context_manager"
                      "test_launch_and_close"
                      "test_close_multiple_times")
                " and not ")))))
    (native-inputs
     (list python-pytest python-pytest-asyncio python-setuptools))
    (propagated-inputs
     (list python-ifaddr))
    (home-page "https://github.com/jstasiak/python-zeroconf")