mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-25 21:27:19 +02:00
Tests: One more CYGWIN specific skipIf
This commit is contained in:
parent
b138b278b5
commit
b763ce012c
1 changed files with 8 additions and 10 deletions
|
@ -61,18 +61,16 @@ class Test1469(TestCase):
|
|||
self.assertIn('möbel', out)
|
||||
self.assertNotIn('foo', out)
|
||||
|
||||
@unittest.skipIf('CYGWIN' in platform.system(), 'Skipping regex case-insensitive test for Cygwin')
|
||||
def test_implicit_search_insensitive_regex(self):
|
||||
"""Implicit search, case insensitive, regex """
|
||||
if 'CYGWIN' in platform.system():
|
||||
self.diag('Skipping regex case-insensitive test for Cygwin')
|
||||
else:
|
||||
code, out, err = self.t(('list', 'möbel',
|
||||
'rc.search.case.sensitive=no',
|
||||
'rc.regex=on'))
|
||||
self.assertEqual(0, code,
|
||||
"Exit code was non-zero ({0})".format(code))
|
||||
self.assertIn('möbel', out)
|
||||
self.assertNotIn('foo', out)
|
||||
code, out, err = self.t(('list', 'möbel',
|
||||
'rc.search.case.sensitive=no',
|
||||
'rc.regex=on'))
|
||||
self.assertEqual(0, code,
|
||||
"Exit code was non-zero ({0})".format(code))
|
||||
self.assertIn('möbel', out)
|
||||
self.assertNotIn('foo', out)
|
||||
|
||||
def test_implicit_search_insensitive_noregex(self):
|
||||
"""Implicit search, case insensitive, no regex """
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue