Example #1
0
 def test_contains_ignore_case_no_match(self):
     
     result = strutils.contains_ignore_case('ABC123', 'match')
     self.assertFalse(result)
Example #2
0
 def test_contains_ignore_case_match(self):
     
     result = strutils.contains_ignore_case('ABCmaTCh123', 'MAtcH')
     self.assertTrue(result)
Example #3
0
 def test_contains_ignore_case_none(self):
     
     result = strutils.contains_ignore_case(None, 'match')
     self.assertFalse(result)
Example #4
0
    def test_contains_ignore_case_no_match(self):

        result = strutils.contains_ignore_case('ABC123', 'match')
        self.assertFalse(result)
Example #5
0
    def test_contains_ignore_case_match(self):

        result = strutils.contains_ignore_case('ABCmaTCh123', 'MAtcH')
        self.assertTrue(result)
Example #6
0
    def test_contains_ignore_case_none(self):

        result = strutils.contains_ignore_case(None, 'match')
        self.assertFalse(result)