1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: Python 3.12: assertEquals is removed
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: https://bugs.debian.org/1074710
Forwarded: no
Last-Update: 2024-07-14
--- python-marathon-0.13.0.orig/tests/test_model_app.py
+++ python-marathon-0.13.0/tests/test_model_app.py
@@ -9,7 +9,7 @@ class MarathonAppTest(unittest.TestCase)
é testé
"""
app = MarathonApp()
- self.assertEquals(app.env, {})
+ self.assertEqual(app.env, {})
def test_add_env_empty_dict(self):
app = MarathonApp()
--- python-marathon-0.13.0.orig/tests/test_model_deployment.py
+++ python-marathon-0.13.0/tests/test_model_deployment.py
@@ -29,5 +29,5 @@ class MarathonDeploymentTest(unittest.Te
}
deployment = MarathonDeployment.from_json(deployment_json)
- self.assertEquals(deployment.id, "ID")
- self.assertEquals(deployment.current_actions[0].app, "/app")
+ self.assertEqual(deployment.id, "ID")
+ self.assertEqual(deployment.current_actions[0].app, "/app")
|