From 6b75369307bba21de7fa67bcdd5bbe7353ae8692de5dc889090b239f805566fd Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 17 Dec 2023 20:13:53 +0000 Subject: [PATCH] - add tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-compute?expand=0&rev=2 --- python-google-cloud-compute.changes | 5 +++++ python-google-cloud-compute.spec | 9 ++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/python-google-cloud-compute.changes b/python-google-cloud-compute.changes index 45e3aa5..9bf7d6f 100644 --- a/python-google-cloud-compute.changes +++ b/python-google-cloud-compute.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Dec 17 20:13:38 UTC 2023 - Dirk Müller + +- add tests + ------------------------------------------------------------------- Wed Dec 13 12:27:57 UTC 2023 - Daniel Garcia diff --git a/python-google-cloud-compute.spec b/python-google-cloud-compute.spec index 2db379c..539c2d6 100644 --- a/python-google-cloud-compute.spec +++ b/python-google-cloud-compute.spec @@ -24,10 +24,10 @@ Summary: Google Cloud Compute API client library License: Apache-2.0 URL: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute Source: https://files.pythonhosted.org/packages/source/g/google-cloud-compute/google-cloud-compute-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module google-api-core >= 1.34.0} BuildRequires: %{python_module proto-plus >= 1.22.3} @@ -53,10 +53,13 @@ Google Cloud Compute API client library %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/google/cloud/compute* +%{python_sitelib}/google/cloud/compute %{python_sitelib}/google_cloud_compute-%{version}.dist-info %changelog