Skip to content

build(deps): bump pyyaml from 6.0.1 to 6.0.2 #284

build(deps): bump pyyaml from 6.0.1 to 6.0.2

build(deps): bump pyyaml from 6.0.1 to 6.0.2 #284

GitHub Actions / Test Results (3.11) failed Oct 2, 2024 in 1s

6 passed, 1 failed and 0 skipped

Tests failed

❌ test-results.xml

7 tests were completed in 16s with 6 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 6✅ 1❌ 16s

❌ 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 0x7ff85a4d7e50>
  ✅ 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

See this annotation in the file changed.

@github-actions 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 0x7ff85a4d7e50>
Raw output
wiremock_manager = <tests.wiremockUtils.WireMockManager object at 0x7ff85a4d7e50>

    @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