Skip to content

conftest

converter.tests.shieldhit.conftest

path_to_dir_with_expected_output

path_to_dir_with_expected_output(project_shieldhit_path)

Just a parser fixture.

Source code in yaptide/converter/tests/shieldhit/conftest.py
14
15
16
17
@pytest.fixture(scope='session')
def path_to_dir_with_expected_output(project_shieldhit_path: Path) -> Path:
    """Just a parser fixture."""
    return project_shieldhit_path.parent / 'expected_shieldhit_output'

path_to_dir_with_expected_output_with_sobp_dat

path_to_dir_with_expected_output_with_sobp_dat(
    project_shieldhit_with_sobp_dat_path,
)

Just a parser fixture.

Source code in yaptide/converter/tests/shieldhit/conftest.py
20
21
22
23
@pytest.fixture(scope='session')
def path_to_dir_with_expected_output_with_sobp_dat(project_shieldhit_with_sobp_dat_path: Path) -> Path:
    """Just a parser fixture."""
    return project_shieldhit_with_sobp_dat_path.parent / 'expected_shieldhit_output_with_sobp_dat'

sh12a_parser

sh12a_parser()

Just a parser fixture.

Source code in yaptide/converter/tests/shieldhit/conftest.py
 8
 9
10
11
@pytest.fixture(scope='session')
def sh12a_parser() -> Parser:
    """Just a parser fixture."""
    return get_parser_from_str('shieldhit')