Exemple #1
0
def check(package):
    """Run gammapy unit tests."""
    import logging
    logging.basicConfig(level=logging.DEBUG,
                        format='%(levelname)s - %(message)s')

    import gammapy
    gammapy.test(package, verbose=True)
Exemple #2
0
def run_tests(package):
    """Run Gammapy tests."""
    import gammapy

    gammapy.test(package, verbose=True)
Exemple #3
0
def run_tests(package):
    """Run Gammapy tests."""
    import gammapy
    gammapy.test(package, verbose=True)
Exemple #4
0
def cli_check_runtests():
    """Run Gammapy tests"""
    test(verbose=True)