Skip to content

Commit 0ab78dc

Browse files
author
Vladimir Kotal
committed
get rid of unittest
fixes #2916
1 parent b124dbe commit 0ab78dc

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

opengrok-tools/setup.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
import os
2-
import unittest
3-
42
from setuptools import setup
53

64
from src.main.python.opengrok_tools.version import __version__ as version
@@ -13,13 +11,6 @@ def readme():
1311
return readme.read()
1412

1513

16-
def my_test_suite():
17-
test_loader = unittest.TestLoader()
18-
test_suite = test_loader.discover(
19-
os.path.join(SCRIPT_DIR, 'src', 'test', 'python'), pattern='test_*.py')
20-
return test_suite
21-
22-
2314
setup(
2415
name='opengrok-tools',
2516
version=version,
@@ -39,7 +30,6 @@ def my_test_suite():
3930
author_email='[email protected]',
4031
description='Tools for managing OpenGrok instance',
4132
long_description=readme(),
42-
test_suite='setup.my_test_suite',
4333
python_requires='>=3.4, <4',
4434
install_requires=[
4535
'jsonschema==2.6.0',

0 commit comments

Comments
 (0)