From 920ae0f7e33eb266b23898be48569c889f04d128 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Jun 28 2022 20:49:55 +0000 Subject: Add import check --- diff --git a/python-azure-mgmt-recoveryservicesbackup.spec b/python-azure-mgmt-recoveryservicesbackup.spec index 34dd47d..0bd8e82 100644 --- a/python-azure-mgmt-recoveryservicesbackup.spec +++ b/python-azure-mgmt-recoveryservicesbackup.spec @@ -43,7 +43,7 @@ Summary: %{summary} %generate_buildrequires -%pyproject_buildrequires -r +%pyproject_buildrequires %build @@ -55,9 +55,11 @@ Summary: %{summary} %pyproject_save_files azure -%if %{with tests} %check -%pytest --disable-warnings +%pyproject_check_import + +%if %{with tests} +%pytest %endif