From faac99976bb2fa274e707ac3d3c7cbb7c56277d7 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Tue, 23 Apr 2019 12:48:28 +0100 Subject: [PATCH] Fix deprecated ``assertEquals()`` See https://docs.python.org/2/library/unittest.html#deprecated-aliases --- test/api/test_workflows_from_yaml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api/test_workflows_from_yaml.py b/test/api/test_workflows_from_yaml.py index f6b7d1e54de..c3ebec9a02f 100644 --- a/test/api/test_workflows_from_yaml.py +++ b/test/api/test_workflows_from_yaml.py @@ -306,7 +306,7 @@ test_data: """, history_id=history_id) content = self.dataset_populator.get_history_dataset_content(history_id) - self.assertEquals(content, "hello world\nhello world 2\n") + self.assertEqual(content, "hello world\nhello world 2\n") def test_workflow_import_tool(self): history_id = self.dataset_populator.new_history() @@ -321,7 +321,7 @@ test_data: history_id=history_id ) content = self.dataset_populator.get_history_dataset_content(history_id) - self.assertEquals(content, "hello world\nhello world 2\n") + self.assertEqual(content, "hello world\nhello world 2\n") def _steps_by_label(self, workflow_as_dict): by_label = {}