[Python-modules-commits] r33743 - in packages/celery/trunk/debian (3 files)

fladi at users.alioth.debian.org fladi at users.alioth.debian.org
Thu Aug 13 19:09:00 UTC 2015


    Date: Thursday, August 13, 2015 @ 19:08:59
  Author: fladi
Revision: 33743

Add fix_test_typos.patch to fix misspelled method names in unit tests (Closes: #795393).

Added:
  packages/celery/trunk/debian/patches/fix_test_typos.patch
Modified:
  packages/celery/trunk/debian/changelog
  packages/celery/trunk/debian/patches/series

Modified: packages/celery/trunk/debian/changelog
===================================================================
--- packages/celery/trunk/debian/changelog	2015-08-13 17:25:02 UTC (rev 33742)
+++ packages/celery/trunk/debian/changelog	2015-08-13 19:08:59 UTC (rev 33743)
@@ -1,3 +1,10 @@
+celery (3.1.18-2) unstable; urgency=medium
+
+  * Add fix_test_typos.patch to fix misspelled method names in unit
+    tests (Closes: #795393).
+
+ -- Michael Fladischer <fladi at debian.org>  Thu, 13 Aug 2015 21:07:36 +0200
+
 celery (3.1.18-1) unstable; urgency=medium
 
   * New upstream release (Closes: #762963).

Added: packages/celery/trunk/debian/patches/fix_test_typos.patch
===================================================================
--- packages/celery/trunk/debian/patches/fix_test_typos.patch	                        (rev 0)
+++ packages/celery/trunk/debian/patches/fix_test_typos.patch	2015-08-13 19:08:59 UTC (rev 33743)
@@ -0,0 +1,31 @@
+Description: Fix typos in assertion method names
+Author: Michael Fladischer <fladi at debian.org>
+Origin: https://github.com/celery/celery/commit/a8621d687c5ef9707edc1f6cbac4ba73eec725b0
+Bug-Debian: https://bugs.debian.org/795393
+Last-Update: 2015-08-13
+Index: celery/celery/tests/backends/test_redis.py
+===================================================================
+--- celery.orig/celery/tests/backends/test_redis.py	2015-04-22 19:34:40.000000000 +0200
++++ celery/celery/tests/backends/test_redis.py	2015-08-13 20:34:08.947402269 +0200
+@@ -251,7 +251,7 @@
+         self.assertTrue(b.client.lrange.call_count)
+         gkey = b.get_key_for_group('group_id', '.j')
+         b.client.delete.assert_called_with(gkey)
+-        b.client.expire.assert_called_witeh(gkey, 86400)
++        b.client.expire.assert_called_with(gkey, 86400)
+ 
+     def test_process_cleanup(self):
+         self.Backend(app=self.app, new_join=True).process_cleanup()
+Index: celery/celery/tests/utils/test_mail.py
+===================================================================
+--- celery.orig/celery/tests/utils/test_mail.py	2015-04-22 14:19:20.000000000 +0200
++++ celery/celery/tests/utils/test_mail.py	2015-08-13 20:33:46.702948487 +0200
+@@ -46,7 +46,7 @@
+         mailer = Mailer(use_ssl=False, use_tls=False)
+         mailer._send(msg)
+ 
+-        client.sendmail.assert_called_With(msg.sender, msg.to, str(msg))
++        client.sendmail.assert_called_with(msg.sender, msg.to, str(msg))
+ 
+         client.quit.side_effect = SSLError()
+         mailer._send(msg)

Modified: packages/celery/trunk/debian/patches/series
===================================================================
--- packages/celery/trunk/debian/patches/series	2015-08-13 17:25:02 UTC (rev 33742)
+++ packages/celery/trunk/debian/patches/series	2015-08-13 19:08:59 UTC (rev 33743)
@@ -3,3 +3,4 @@
 intersphinx.patch
 disable_unstable_tests.patch
 privacy.patch
+fix_test_typos.patch




More information about the Python-modules-commits mailing list