diff --git a/kadi/commands/tests/test_commands.py b/kadi/commands/tests/test_commands.py index 2ea4a654..fd96d9d9 100644 --- a/kadi/commands/tests/test_commands.py +++ b/kadi/commands/tests/test_commands.py @@ -1213,6 +1213,7 @@ def patched_read_cmd_events_from_sheet(doc_id): return evts +@pytest.mark.skipif(not HAS_INTERNET, reason="No internet connection") def test_flight_scenario_sheet_access(): """Test that flight scenario does not access the google command events sheet""" with kadi.commands.conf.set_temp("cmd_events_flight_id", "id-does-not-exist"): @@ -1227,6 +1228,7 @@ def test_flight_scenario_sheet_access(): commands.get_cmds("-7d") # fails, bad sheet URL +@pytest.mark.skipif(not HAS_INTERNET, reason="No internet connection") def test_custom_scenario(monkeypatch, stop_date_2024_035_23_00_00): """Test "custom" scenario with a carefully constructed sequence of events.