Skip to content

Some tests fail on Windows #4

Description

@Ark-kun

The failures are mostly due to path character differences.

================================================================================================== short test summary info ===================================================================================================
FAILED tests/test_component_from_func.py::TestGeneratorStripsTaskEnvAuthoring::test_colocated_env_assignment_absent_from_baked_program - AssertionError: generate_component_yaml failed for task_env_strip_colocated_op.py
FAILED tests/test_component_from_func.py::TestGeneratorStripsTaskEnvAuthoring::test_imported_env_name_absent_from_baked_program - AssertionError: generate_component_yaml failed for task_env_strip_imported_op.py
FAILED tests/test_component_from_func.py::TestGeneratorStripsTaskEnvAuthoring::test_imported_env_module_alias_absent_from_baked_program - AssertionError: generate_component_yaml failed for task_env_strip_module_op.py
FAILED tests/test_component_from_func.py::TestGeneratorStripsTaskEnvAuthoring::test_inline_taskenv_absent_from_baked_program - AssertionError: generate_component_yaml failed for task_env_strip_inline_op.py
FAILED tests/test_component_from_func.py::TestGeneratorStripsTaskEnvAuthoring::test_explicit_image_override_baked_program_is_env_free - AssertionError: generate_component_yaml failed for task_env_strip_override_op.py
FAILED tests/test_component_from_func.py::TestGeneratorStripsTaskEnvAuthoring::test_annotation_only_env_baked_program_is_env_free_and_runs - AssertionError: generate_component_yaml failed for task_env_strip_annotation_op.py
FAILED tests/test_component_generator.py::test_generate_component_yaml_default_emits_generation_annotations_and_oss_paths - AssertionError: assert 'src\\component.py' == 'src/component.py'
FAILED tests/test_pipeline_dehydrator.py::test_pipeline_dehydrator_auto_falls_back_to_file_when_client_creation_fails - AssertionError: assert {'url': 'file...al_only.yaml'} == {'url': 'file...al_only.yaml'}
FAILED tests/test_pipeline_dehydrator.py::test_pipeline_dehydrator_auto_uses_url_digest_then_file - AssertionError: assert {'url': 'file...al_only.yaml'} == {'url': 'file...al_only.yaml'}
FAILED tests/test_pipeline_dehydrator.py::test_pipeline_dehydrator_auto_extracts_subgraphs_and_rewrites_relative_urls - AssertionError: assert {'url': 'file...graph_0.yaml'} == {'url': 'file...graph_0.yaml'}
FAILED tests/test_version_manager.py::test_bump_yaml_with_python_source_in_separate_output_dir - AssertionError: assert 'src\\test_component.py' == 'src/test_component.py'
======================================================================================== 11 failed, 610 passed, 10 warnings in 39.57s ========================================================================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions