Beispiel #1
0
def suite():
    suite = unittest.TestSuite()
    with warnings.catch_warnings(record=True):
        warnings.filterwarnings(
            'ignore', 'Module obspy.signal.psd is deprecated! '
            'Use obspy.signal.spectral_estimation instead or import directly '
            '"from obspy.signal import ...".', category=DeprecationWarning)
        add_doctests(suite, MODULE_NAME)
        add_unittests(suite, MODULE_NAME)
    return suite
Beispiel #2
0
def suite():
    suite = unittest.TestSuite()
    add_doctests(suite, MODULE_NAME)
    add_unittests(suite, MODULE_NAME)
    return suite
Beispiel #3
0
def suite():
    suite = unittest.TestSuite()
    add_doctests(suite, MODULE_NAME)
    add_unittests(suite, MODULE_NAME)
    return suite
Beispiel #4
0
def suite():  # pragma: no cover
    suite = unittest.TestSuite()
    add_doctests(suite, MODULE_NAME)
    add_unittests(suite, MODULE_NAME)
    return suite
Beispiel #5
0
def suite():  # pragma: no cover
    suite = unittest.TestSuite()
    add_doctests(suite, MODULE_NAME)
    add_unittests(suite, MODULE_NAME)
    return suite