Commit ea0b7d60 authored by Tanner Prestegard's avatar Tanner Prestegard

Remove custom 'python setup.py integration_test' command

parent f009eb47
......@@ -20,25 +20,9 @@ import os
import re
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test
import textwrap
class IntegrationTestCommand(test, object):
"""A custom command to run integration tests"""
description = 'Test integration with a GraceDB server'
def finalize_options(self):
"""
Default to integration tests if test_suite and test_module are not
set, rather than the full test suite.
"""
if self.test_suite is None and self.test_module is None:
self.test_suite = \
'ligo.gracedb.test.integration.IntegrationTestSuite'
super(IntegrationTestCommand, self).finalize_options()
def parse_version(path):
"""Extract the `__version__` string from the given file"""
with open(path, 'r') as fp:
......@@ -123,5 +107,4 @@ setup(
'gracedb_legacy=ligo.gracedb.legacy_cli:main',
],
},
cmdclass={'integration_test': IntegrationTestCommand},
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment