Skip to content

Commit e118002

Browse files
committed
Configuring build stack
👷 Continuing to configure/debug build stack. 🐛 README filename misspelled in setup.py Continuing to configure/debug build stack.
1 parent 1740601 commit e118002

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import setuptools
22

3+
import tests
4+
35
with open("README.md", "r") as fh:
46
long_description = fh.read()
57

@@ -13,7 +15,7 @@
1315
long_description_content_type="text/markdown",
1416
url="https://github.com/opendataalex/process_tracker_python",
1517
packages=setuptools.find_packages(),
16-
test_suite=tests,
18+
test_suite=tests.process_tracker_test_suite(),
1719
install_requires=[
1820
'sqlalchemy >= 1.3.3',
1921
'sqlalchemy-utils >= 0.33.11',

tests/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import unittest
2+
3+
4+
def process_tracker_test_suite():
5+
test_loader = unittest.TestLoader()
6+
test_suite = test_loader.discover('tests', pattern='test_*.py')
7+
return test_suite

0 commit comments

Comments
 (0)