Skip to content

Commit

Permalink
Fix SQLAlchemy deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
soininen committed Feb 13, 2025
1 parent e6d97a9 commit 3d87852
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions execution_tests/parallel_importer/execution_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_execution(self):
scenario_2_checked = False
for value_row in value_rows:
for key, expected_value in expected_common_data.items():
self.assertEqual(value_row[key], expected_value)
self.assertEqual(value_row._mapping[key], expected_value)
value = from_database(value_row.value, value_row.type)
if value == 11.0:
self.assertTrue(value_row.alternative_name.startswith("scenario_1__Import@"))
Expand All @@ -79,5 +79,5 @@ def test_execution(self):
self.assertTrue(scenario_2_checked)


if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_execution(self):
scenario_2_checked = False
for value_row in value_rows:
for key, expected_value in expected_common_data.items():
self.assertEqual(value_row[key], expected_value)
self.assertEqual(value_row._mapping[key], expected_value)
value = from_database(value_row.value, value_row.type)
if value == 11.0:
self.assertTrue(value_row.alternative_name.startswith("scenario_1__Import@"))
Expand All @@ -79,5 +79,5 @@ def test_execution(self):
self.assertTrue(scenario_2_checked)


if __name__ == '__main__':
if __name__ == "__main__":
unittest.main()

0 comments on commit 3d87852

Please # to comment.