-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2255dbb
commit 71576b4
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import pytest | ||
|
||
from converter.fluka.helper_parsers.detector_parser import parse_detector | ||
from converter.fluka.helper_parsers.scoring_parser import parse_scorings | ||
|
||
@pytest.fixture(scope='module') | ||
def detectors_json(project_fluka_json): | ||
"""zoneManager part of Fluka project.json file""" | ||
return project_fluka_json['detectorManager'] | ||
|
||
|
||
def test_parse_scoring(detectors_json): | ||
scorings = parse_detector(detectors_json, 'c5d0bfa1-525a-4c22-bcc6-3b1d40e1fea3') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters