From 1eb45406a7c7ddb2be1977390f2dbe2de9827bb455fd0effc6e4c59bd8db79e2 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Thu, 25 May 2023 08:53:50 +0000 Subject: [PATCH] - Disable broken tests with kvm OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=12 --- python-email-validator.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-email-validator.spec b/python-email-validator.spec index 2f79fcf..394bd15 100644 --- a/python-email-validator.spec +++ b/python-email-validator.spec @@ -75,7 +75,9 @@ Key features: %check echo "nameserver 1.1.1.1" > resolv.conf export RESOLV_FILE=$PWD/resolv.conf -%pytest tests +# test_caching_dns_resolver fails when running with kvm +donttest="test_caching_dns_resolver" +%pytest tests -k "not ($donttest)" %post %python_install_alternative email_validator