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

            A new commit has been pushed.

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

            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 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 12:47 [rpms/python-msal] f43: 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