forked from pool/python-marathon
- Stop using greedy globs in %files. - Actually run fdupes. - Add patch fix-assertion-method.patch: * Use assertEqual, not assertEquals. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marathon?expand=0&rev=15
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
Index: marathon-python-0.13.0/tests/test_model_app.py
|
|
===================================================================
|
|
--- marathon-python-0.13.0.orig/tests/test_model_app.py
|
|
+++ marathon-python-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()
|
|
Index: marathon-python-0.13.0/tests/test_model_deployment.py
|
|
===================================================================
|
|
--- marathon-python-0.13.0.orig/tests/test_model_deployment.py
|
|
+++ marathon-python-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")
|