forked from pool/python-marathon
- Switch to autosetup and pyproject macros.
- 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
This commit is contained in:
25
fix-assertion-method.patch
Normal file
25
fix-assertion-method.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
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")
|
||||
Reference in New Issue
Block a user