[Python-modules-commits] [taskw] 02/04: Test suite patch no longer required.

Edward Betts edward at moszumanska.debian.org
Tue Dec 15 12:34:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

edward pushed a commit to branch master
in repository taskw.

commit b8239349ce6d0f910d9a3ef2ddc09fbdd0830385
Author: Edward Betts <edward at 4angle.com>
Date:   Tue Dec 15 11:33:45 2015 +0000

    Test suite patch no longer required.
    
    This reverts commit fa1ff7ebaa5423adf76a07cc30d5502c4d8b39ca.
---
 taskw/test/test_datas.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/taskw/test/test_datas.py b/taskw/test/test_datas.py
index fec3981..001eb9f 100644
--- a/taskw/test/test_datas.py
+++ b/taskw/test/test_datas.py
@@ -369,7 +369,7 @@ class TestDBShellout(_BaseTestDB):
         task1 = self.tw.task_add("[foobar1]")
         task2 = self.tw.task_add("[foobar2]")
         tasks = self.tw.filter_tasks({
-            'description.contains': '\[foobar2\]',
+            'description.contains': '[foobar2]',
         })
         eq_(len(tasks), 1)
         eq_(tasks[0]['id'], 2)
@@ -388,7 +388,7 @@ class TestDBShellout(_BaseTestDB):
         task2 = self.tw.task_add("foobar2")
         task2 = self.tw.task_add("foobar+")
         tasks = self.tw.filter_tasks({
-            'description.contains': 'foobar\+',
+            'description.contains': 'foobar+',
         })
         eq_(len(tasks), 1)
         eq_(tasks[0]['id'], 3)
@@ -417,7 +417,7 @@ class TestDBShellout(_BaseTestDB):
         task1 = self.tw.task_add("foobar1")
         task2 = self.tw.task_add("foo?bar")
         tasks = self.tw.filter_tasks({
-                'description.contains': 'oo\?ba',
+                'description.contains': 'oo?ba',
         })
         eq_(len(tasks), 1)
         eq_(tasks[0]['id'], 2)
@@ -446,7 +446,7 @@ class TestDBShellout(_BaseTestDB):
         task2 = self.tw.task_add("foobar2")
         task2 = self.tw.task_add("foo?bar")
         tasks = self.tw.filter_tasks({
-            'description.contains': 'foo\?bar',
+            'description.contains': 'foo?bar',
         })
         eq_(len(tasks), 1)
         eq_(tasks[0]['id'], 3)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/taskw.git



More information about the Python-modules-commits mailing list