Skip to content

conftest

converter.tests.fluka.conftest

project2_fluka_json

project2_fluka_json(project2_fluka_path)

Dictionary with project data for Fluka

Source code in yaptide/converter/tests/fluka/conftest.py
25
26
27
28
29
@pytest.fixture(scope='session')
def project2_fluka_json(project2_fluka_path) -> dict:
    """Dictionary with project data for Fluka"""
    with open(project2_fluka_path, 'r') as file_handle:
        return json.load(file_handle)

project2_fluka_path

project2_fluka_path()

Path to SHIELD-HIT12A project.json file

Source code in yaptide/converter/tests/fluka/conftest.py
19
20
21
22
@pytest.fixture(scope='session')
def project2_fluka_path() -> Path:
    """Path to SHIELD-HIT12A project.json file"""
    return Path(__file__).parent / 'project2.json'

project3_fluka_json

project3_fluka_json(project3_fluka_path)

Dictionary with project data for Fluka

Source code in yaptide/converter/tests/fluka/conftest.py
38
39
40
41
42
@pytest.fixture(scope='session')
def project3_fluka_json(project3_fluka_path) -> dict:
    """Dictionary with project data for Fluka"""
    with open(project3_fluka_path, 'r') as file_handle:
        return json.load(file_handle)

project3_fluka_path

project3_fluka_path()

Path to SHIELD-HIT12A project.json file

Source code in yaptide/converter/tests/fluka/conftest.py
32
33
34
35
@pytest.fixture(scope='session')
def project3_fluka_path() -> Path:
    """Path to SHIELD-HIT12A project.json file"""
    return Path(__file__).parent / 'project3.json'

project4_fluka_json

project4_fluka_json(project4_fluka_path)

Dictionary with project data for Fluka

Source code in yaptide/converter/tests/fluka/conftest.py
51
52
53
54
55
@pytest.fixture(scope='session')
def project4_fluka_json(project4_fluka_path) -> dict:
    """Dictionary with project data for Fluka"""
    with open(project4_fluka_path, 'r') as file_handle:
        return json.load(file_handle)

project4_fluka_path

project4_fluka_path()

Path to Fluka project.json file

Source code in yaptide/converter/tests/fluka/conftest.py
45
46
47
48
@pytest.fixture(scope='session')
def project4_fluka_path() -> Path:
    """Path to Fluka project.json file"""
    return Path(__file__).parent / 'project4.json'

project_fluka_json

project_fluka_json(project_fluka_path)

Dictionary with project data for Fluka

Source code in yaptide/converter/tests/fluka/conftest.py
12
13
14
15
16
@pytest.fixture(scope='session')
def project_fluka_json(project_fluka_path) -> dict:
    """Dictionary with project data for Fluka"""
    with open(project_fluka_path, 'r') as file_handle:
        return json.load(file_handle)

project_fluka_path

project_fluka_path()

Path to SHIELD-HIT12A project.json file

Source code in yaptide/converter/tests/fluka/conftest.py
6
7
8
9
@pytest.fixture(scope='session')
def project_fluka_path() -> Path:
    """Path to SHIELD-HIT12A project.json file"""
    return Path(__file__).parent / 'project.json'