#1 Run the test suite in %check
Merged 2 years ago by praiskup. Opened 2 years ago by churchyard.
rpms/ churchyard/python-ibm-vpc pytest  into  rawhide

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- /ibm-vpc-0.9.0.tar.gz

+ /vpc-python-sdk-*.tar.gz

file modified
+8 -3
@@ -5,11 +5,16 @@ 

  

  License:        ASL 2.0

  URL:            https://github.com/IBM/vpc-python-sdk

- Source0:        %{pypi_source ibm-vpc}

+ Source0:        %{url}/archive/v%{version}/vpc-python-sdk-%{version}.tar.gz

  

  BuildArch:      noarch

  BuildRequires:  python3-devel

  

+ # test dependencies are in requirements-dev.txt but mixed with coverage and linters

+ # tox configuration uses the same file

+ BuildRequires:  python3-pytest

+ BuildRequires:  python3-responses

+ 

  %global _description %{expand:

  Python client library to interact with various IBM Cloud Virtual Private Cloud

  (VPC) Service APIs.
@@ -25,7 +30,7 @@ 

  

  

  %prep

- %autosetup -p1 -n ibm-vpc-%{version}

+ %autosetup -p1 -n vpc-python-sdk-%{version}

  

  

  %generate_buildrequires
@@ -42,7 +47,7 @@ 

  

  

  %check

- %pyproject_check_import

+ %pytest -v test/unit

  

  

  %files -n python3-ibm-vpc -f %{pyproject_files}

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (ibm-vpc-0.9.0.tar.gz) = bc138a2e47ac9ffdbdc35da3cc92c05c911803a17d4e97be391adb60ab2a239694dc0a30fe66720c02d12ae8cec87ae8ce7f615d47488c00e8643d514b06386d

+ SHA512 (vpc-python-sdk-0.9.0.tar.gz) = 506762569546c946bd55af927c59f604f694e0daeb679ac09f7287de0c8e6bf1c08d41a1b3cf9bab8b10259ab09d8d53f5b5c28956712644e62bb6e1d437db3c

Test collection takes a lot of time (not sure why) but at the end, it passes, see e.g. https://koji.fedoraproject.org/koji/taskinfo?taskID=80951691

Pull-Request has been merged by praiskup

2 years ago