Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump typer from 0.12.3 to 0.12.5 #22

Merged
merged 1 commit into from
Oct 2, 2024

build(deps): bump typer from 0.12.3 to 0.12.5

43897a5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

build(deps): bump typer from 0.12.3 to 0.12.5 #22

build(deps): bump typer from 0.12.3 to 0.12.5
43897a5
Select commit
Loading
Failed to load commit list.
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 0x7fce7031fc50>
  ✅ 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 0x7fce7031fc50>
Raw output
wiremock_manager = <tests.wiremockUtils.WireMockManager object at 0x7fce7031fc50>

    @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