Skip to content

Commit 85a388e

Browse files
Adjust test that was assuming same parameters = same input file (no longer true, for the moment at least)
1 parent 0489a70 commit 85a388e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_geophires_x.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,11 @@ def test_geophires_x_end_use_direct_use_heat(self):
5454
)
5555
)
5656

57-
assert result == result_same_input
57+
del result.result['metadata']
58+
del result_same_input.result['metadata']
59+
self.assertDictEqual(result.result, result_same_input.result)
5860

59-
# TODO assert that result was retrieved from cache instead of recomputed (somehow)
61+
# assert result == result_same_input # TODO assert that result was retrieved from cache instead of recomputed (somehow)
6062

6163
def test_geophires_x_end_use_electricity(self):
6264
client = GeophiresXClient()

0 commit comments

Comments
 (0)