def test_functional(flask_app_test): config_fname = os.path.join( os.path.dirname(__file__), 'config.py', ) with flask_app_test.test_request_context(): run_smoke_tests_with_config(config_fname, run=['fit', 'test', 'predict'])
def test_functional(flask_app_test, config_filename): config_fname = os.path.join( os.path.dirname(__file__), config_filename, ) with flask_app_test.test_request_context(): run_smoke_tests_with_config( config_fname, run=['fit', 'test', 'predict'], func_kwargs={'predict': { 'path': config2path[config_filename] }}, )
def test_functional(): config_fname = os.path.join( os.path.dirname(__file__), 'config.py', ) run_smoke_tests_with_config(config_fname, run=['fit', 'test', 'predict'])