public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-msal] rawhide: Run import smoke test even when tests are disabled
@ 2026-08-25 11:17 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-25 11:17 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-msal
            Branch : rawhide
            Commit : dfc8ec2106f087b03a0dc450a60a9e6db5cee458
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-25T11:47:36+01:00
            Stats  : +4/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-msal/c/dfc8ec2106f087b03a0dc450a60a9e6db5cee458?branch=rawhide

            Log:
            Run import smoke test even when tests are disabled

[skip changelog]

---
diff --git a/python-msal.spec b/python-msal.spec
index 7a7318b..4e38b12 100644
--- a/python-msal.spec
+++ b/python-msal.spec
@@ -82,6 +82,10 @@ sed --regexp-extended \
 
 
 %check
+# The msal.broker module requires the broker extra; that requires
+# pymsalruntime, which we can’t package.
+%pyproject_check_import -e msal.broker
+
 %if %{with tests}
 %if %{without network_tests}
 # All of the following require network access:
@@ -121,11 +125,6 @@ k="${k-}${k+ and }not (CryptographyTestCase and test_should_be_run_with_latest_v
 ignore="${ignore-} --ignore=tests/test_benchmark.py"
 
 %pytest --disable-warnings tests ${ignore-} -k "${k-}" --verbose
-
-%else
-# The msal.broker module requires the broker extra; that requires
-# pymsalruntime, which we can’t package.
-%pyproject_check_import -e msal.broker
 %endif
 
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-25 11:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 11:17 [rpms/python-msal] rawhide: Run import smoke test even when tests are disabled Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox