Skip to content

Commit bec3732

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

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
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

-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@
5050
name="django-datadog-logger",
5151
packages=find_packages(include=["django_datadog_logger", "django_datadog_logger.*"]),
5252
setup_requires=setup_requirements,
53-
test_suite="tests",
54-
tests_require=test_requirements,
5553
url="https://github.com/namespace-ee/django-datadog-logger",
5654
version="0.7.1",
5755
zip_safe=False,

0 commit comments

Comments
 (0)