build(deps-dev): bump ruff from 0.6.3 to 0.7.2 #296
GitHub Actions / Test Results (3.11)
failed
Nov 1, 2024 in 0s
6 passed, 1 failed and 0 skipped
❌ test-results.xml
7 tests were completed in 14s with 6 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 6✅ | 1❌ | 14s |
❌ pytest
tests.test_main
✅ test_app_says_hello
✅ test_process_with_valid_config_does_not_error
✅ test_process_with_binary_hk_converts_to_csv
❌ test_fetch_binary_downloads_hk_from_webpoda
wiremock_manager = <tests.wiremockUtils.WireMockManager object at 0x7fcbea1ae890>
✅ test_fetch_science_downloads_cdf_from_sdc
✅ test_calibration_creates_calibration_file
✅ test_application_creates_L2_file
Annotations
Check failure on line 0 in test-results.xml
github-actions / Test Results (3.11)
pytest ► tests.test_main ► test_fetch_binary_downloads_hk_from_webpoda
Failed test found in:
test-results.xml
Error:
wiremock_manager = <tests.wiremockUtils.WireMockManager object at 0x7fcbea1ae890>
Raw output
wiremock_manager = <tests.wiremockUtils.WireMockManager object at 0x7fcbea1ae890>
@pytest.mark.skipif(
os.getenv("GITHUB_ACTIONS") and os.getenv("RUNNER_OS") == "Windows",
reason="Wiremock test containers will not work on Windows Github Runner",
)
def test_fetch_binary_downloads_hk_from_webpoda(wiremock_manager): # noqa: F811
# Set up.
binary_file = os.path.abspath("tests/data/2025/MAG_HSK_PW.pkts")
wiremock_manager.add_file_mapping(
"/packets/SID2/MAG_HSK_PW.bin?time%3E=2025-05-02T00:00:00&time%3C2025-05-03T00:00:00&project(packet)",
binary_file,
)
(_, config_file) = create_serialize_config(
destination_file="power.pkts", webpoda_url=wiremock_manager.get_url()
)
# Exercise.
result = runner.invoke(
app,
[
"--verbose",
"fetch-binary",
"--config",
config_file,
"--apid",
"1063",
"--start-date",
"2025-05-02",
"--end-date",
"2025-05-03",
],
)
print("\n" + str(result.stdout))
# Verify.
> assert result.exit_code == 0
E assert 2 == 0
E + where 2 = <Result SystemExit(2)>.exit_code
tests/test_main.py:121: AssertionError
Loading