We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a64aaae commit 7994d5eCopy full SHA for 7994d5e
tests/test_geophires_x_client.py
@@ -448,6 +448,15 @@ def test_input_with_non_default_units(self):
448
self.assertDictEqual(result_default_units, result_non_default_units)
449
450
def test_csv(self):
451
+ """
452
+ TODO make this less tedious to update when expected result values change
453
+
454
+ Current easiest method to update:
455
+ 1. set breakpoint on line after `as_csv = result.as_csv()`
456
+ 2. debug test, hit break point
457
+ 3. copy-paste value of `as_csv` to example1_addons.csv
458
459
460
def assertFileContentsEqual(expected_file_path, actual_file_path, tol=0.01):
461
with open(expected_file_path, encoding='utf-8') as ef:
462
expected_lines = ef.readlines()
0 commit comments