Skip to content

Commit 9fc1ac5

Browse files
committed
Running 'python setup.py test' is no longer supported
1 parent 894d3df commit 9fc1ac5

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ lint: ## check style with flake8
5151
flake8 django_datadog_logger tests
5252

5353
test: ## run tests quickly with the default Python
54-
DJANGO_SETTINGS_MODULE=tests.settings python setup.py test
54+
DJANGO_SETTINGS_MODULE=tests.settings python -m unittest discover
5555

5656
test-all: ## run tests on every Python version with tox
5757
tox

setup.py

-5
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121

2222
setup_requirements = []
2323

24-
test_requirements = []
25-
26-
2724
setup(
2825
author="Lenno Nagel",
2926
author_email="[email protected]",
@@ -50,8 +47,6 @@
5047
name="django-datadog-logger",
5148
packages=find_packages(include=["django_datadog_logger", "django_datadog_logger.*"]),
5249
setup_requires=setup_requirements,
53-
test_suite="tests",
54-
tests_require=test_requirements,
5550
url="https://github.com/namespace-ee/django-datadog-logger",
5651
version="0.7.1",
5752
zip_safe=False,

0 commit comments

Comments
 (0)