ci: skip test run_flow_from_json_object (#2227)
ci: skip test test_run_flow_from_json_object
This commit is contained in:
parent
47e63d1d02
commit
818dfa7c6d
2 changed files with 3 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ load_dotenv()
|
||||||
|
|
||||||
def pytest_configure(config):
|
def pytest_configure(config):
|
||||||
config.addinivalue_line("markers", "noclient: don't create a client for this test")
|
config.addinivalue_line("markers", "noclient: don't create a client for this test")
|
||||||
|
config.addinivalue_line("markers", "load_flows: load the flows for this test")
|
||||||
|
config.addinivalue_line("markers", "api_key_required: run only if the api key is set in the environment variables")
|
||||||
data_path = Path(__file__).parent.parent.absolute() / "data"
|
data_path = Path(__file__).parent.parent.absolute() / "data"
|
||||||
|
|
||||||
pytest.BASIC_EXAMPLE_PATH = data_path / "basic_example.json"
|
pytest.BASIC_EXAMPLE_PATH = data_path / "basic_example.json"
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ def test_load_flow_from_json_object():
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.noclient
|
@pytest.mark.noclient
|
||||||
|
@pytest.mark.api_key_required
|
||||||
def test_run_flow_from_json_object():
|
def test_run_flow_from_json_object():
|
||||||
"""Test loading a flow from a json file and applying tweaks"""
|
"""Test loading a flow from a json file and applying tweaks"""
|
||||||
_, projects = zip(*load_starter_projects())
|
_, projects = zip(*load_starter_projects())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue