Skip to content

Commit a48c26f

Browse files
committed
Move tests out of package into root of repo
1 parent 9713660 commit a48c26f

15 files changed

+3
-5
lines changed

MANIFEST.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
include src/dicomweb_client/*
2-
include src/dicomweb_client/tests/*
3-
include src/dicomweb_client/data/*
File renamed without changes.
File renamed without changes.

src/dicomweb_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '0.21.0'
1+
__version__ = '0.22.0rc'
22

33

44
from dicomweb_client.api import DICOMwebClient

src/dicomweb_client/tests/conftest.py renamed to tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from pkg_resources import resource_filename
1+
from pathlib import Path
22

33
import pytest
44

@@ -15,7 +15,7 @@ def parser():
1515
@pytest.fixture
1616
def cache_dir():
1717
'''Directory where responses are cached.'''
18-
return resource_filename('dicomweb_client', 'data')
18+
return Path(__file__).parent.parent.joinpath('data')
1919

2020

2121
@pytest.fixture
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)