def pytest_addoption(parser):
    db_names = (','.join(_all_databases) + ' (or all for all databases)')
    group = parser.getgroup('PANOPTES pytest options')
    group.addoption('--astrometry', action='store_true', default=False, help='If tests that require solving should be run')
    group.addoption('--theskyx', action='store_true', default=False, help='If running tests alongside a running TheSkyX program.')
    group.addoption('--test-databases', nargs='+', default=['file'], help=(('Test databases in the list. List items can include: ' + db_names) + '. Note that travis-ci will test all of them by default.'))
def pytest_addoption(parser):
    db_names = (','.join(_all_databases) + ' (or all for all databases)')
    group = parser.getgroup('PANOPTES pytest options')
    group.addoption('--astrometry', action='store_true', default=False, help='If tests that require solving should be run')
    group.addoption('--theskyx', action='store_true', default=False, help='If running tests alongside a running TheSkyX program.')
    group.addoption('--test-databases', nargs='+', default=['file'], help=(('Test databases in the list. List items can include: ' + db_names) + '. Note that travis-ci will test all of them by default.'))