Skip to content

Skip custom scenario test and new flight scenario test if no internet#376

Merged
jeanconn merged 2 commits intomasterfrom
skip-custom-test-no-internet
Jan 22, 2026
Merged

Skip custom scenario test and new flight scenario test if no internet#376
jeanconn merged 2 commits intomasterfrom
skip-custom-test-no-internet

Conversation

@jeanconn
Copy link
Contributor

@jeanconn jeanconn commented Jan 22, 2026

Description

Skip custom scenario test and flight scenario check if no internet. The tests need internet access to the google sheet.

The more complete issue is fixed in #375, but these tests can safely be skipped in advance of that PR.

Interface impacts

Testing

Unit tests

  • Mac
(ska3-flight-2026.1rc5) flame:kadi jean$ git checkout skip-custom-test-no-internet
Switched to branch 'skip-custom-test-no-internet'
(ska3-flight-2026.1rc5) flame:kadi jean$ pytest 
===================================================================================== test session starts ======================================================================================
platform darwin -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /Users/jean/git
configfile: pytest.ini
plugins: anyio-4.12.1, timeout-2.4.0
collected 220 items                                                                                                                                                                            

kadi/commands/tests/test_commands.py .......................................................................................                                                             [ 39%]
kadi/commands/tests/test_filter_events.py ..                                                                                                                                             [ 40%]
kadi/commands/tests/test_states.py .................................................x..........................                                                                          [ 75%]
kadi/commands/tests/test_validate.py ......................                                                                                                                              [ 85%]
kadi/tests/test_events.py ..........                                                                                                                                                     [ 89%]
kadi/tests/test_occweb.py .......................                                                                                                                                        [100%]

========================================================================== 219 passed, 1 xfailed in 180.06s (0:03:00) ==========================================================================
(ska3-flight-2026.1rc5) flame:kadi jean$ pytest
===================================================================================== test session starts ======================================================================================
platform darwin -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /Users/jean/git
configfile: pytest.ini
plugins: anyio-4.12.1, timeout-2.4.0
collected 220 items                                                                                                                                                                            

kadi/commands/tests/test_commands.py .......sssssssssss..ss..................................ss..............ssss..s........                                                             [ 39%]
kadi/commands/tests/test_filter_events.py ss                                                                                                                                             [ 40%]
kadi/commands/tests/test_states.py sssssssssssssssssssssssssssss....................x..........................                                                                          [ 75%]
kadi/commands/tests/test_validate.py ssssssssssssssssssssss                                                                                                                              [ 85%]
kadi/tests/test_events.py ..........                                                                                                                                                     [ 89%]
kadi/tests/test_occweb.py sssssssssssssssssssssss                                                                                                                                        [100%]

========================================================================== 123 passed, 96 skipped, 1 xfailed in 9.93s ==========================================================================
(ska3-flight-2026.1rc5) flame:kadi jean$ git rev-parse HEAD
a4b8dea84a4180803b61ad47745f0cfee37d5c66

Independent check of unit tests by [REVIEWER NAME]

  • [PLATFORM]:

Functional tests

No functional testing.

@jeanconn jeanconn force-pushed the skip-custom-test-no-internet branch from 66b659c to a118049 Compare January 22, 2026 16:41
@jeanconn jeanconn force-pushed the skip-custom-test-no-internet branch from a118049 to a4b8dea Compare January 22, 2026 17:00
@jeanconn jeanconn changed the title Skip custom scenario test if no internet Skip custom scenario test and new flight scenario test if no internet Jan 22, 2026
@jeanconn jeanconn merged commit e429c48 into master Jan 22, 2026
5 checks passed
@javierggt javierggt mentioned this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants