Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dynamic Exposure
Global Dynamic Exposure
gde-importer
Commits
f09f4543
Commit
f09f4543
authored
Mar 24, 2022
by
Cecilia Nievas
Browse files
Fixed black formatting (new version of black)
parent
eda5cc60
Pipeline
#40448
failed with stage
in 1 minute and 50 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tests/test_aggregatedexposuremodel.py
View file @
f09f4543
...
...
@@ -245,15 +245,12 @@ def test_ExposureModelESRM20(test_db):
)
for
cost_type
in
expected_costs_disaggregation
[
case
].
keys
():
assert
(
round
(
returned_aem
.
exposure_entities
[
exposure_entity
].
occupancy_cases
[
case
][
"costs_disaggregation"
][
cost_type
],
2
,
)
==
round
(
expected_costs_disaggregation
[
case
][
cost_type
],
2
)
)
assert
round
(
returned_aem
.
exposure_entities
[
exposure_entity
].
occupancy_cases
[
case
][
"costs_disaggregation"
][
cost_type
],
2
,
)
==
round
(
expected_costs_disaggregation
[
case
][
cost_type
],
2
)
# Go on to test the retrieval of the data units
exposure_entities_to_run
=
[
"Entity_1"
,
"Entity_2"
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment