Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -1,12 +0,0 @@
|
|||||||
--- a/data_store/tests/test_utils.py
|
|
||||||
+++ b/data_store/tests/test_utils.py
|
|
||||||
@@ -10,7 +10,7 @@
|
|
||||||
|
|
||||||
class TestDataStore:
|
|
||||||
"""Test the interface for the data sources"""
|
|
||||||
- def setup(self):
|
|
||||||
+ def setup_method(self):
|
|
||||||
self.data_path = Path(__file__).resolve().parent.parent / "data"
|
|
||||||
self.fname = "693_UNCI.dcm"
|
|
||||||
|
|
||||||
Nur in b/pydicom-data-1.0.0: .pytest_cache.
|
|
@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Nov 22 12:21:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- add pytest8.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 16 10:04:00 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
Tue Jan 16 10:04:00 UTC 2024 - Axel Braun <axel.braun@gmx.de>
|
||||||
|
|
||||||
|
@ -24,7 +24,6 @@ Summary: Test files for pydicom
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pydicom/pydicom-data/
|
URL: https://github.com/pydicom/pydicom-data/
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pydicom-data/pydicom-data-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pydicom-data/pydicom-data-%{version}.tar.gz
|
||||||
Patch1: pytest8.patch
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -38,7 +37,7 @@ BuildArch: noarch
|
|||||||
Test files used by pydicom and other packages by the same organisation.
|
Test files used by pydicom and other packages by the same organisation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n pydicom-data-%{version}
|
%setup -q -n pydicom-data-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@ -48,7 +47,7 @@ Test files used by pydicom and other packages by the same organisation.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest -rs
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/data_store
|
%{python_sitelib}/data_store
|
||||||
|
Loading…
x
Reference in New Issue
Block a user