'Test wildcard strings'

def test_wildcards_overlap(self):

    self.assertTrue(wildcards_overlap('foo.bar', 'foo.bar'))
    self.assertTrue(wildcards_overlap('f*.bar', 'foo.bar'))
    self.assertTrue(wildcards_overlap('*.bar', 'foo.*'))
    self.assertTrue(wildcards_overlap('f*.bar', 'foo.b*'))
    self.assertTrue(wildcards_overlap('a*b*c', '*c*'))
    self.assertFalse(wildcards_overlap('foo.bar', 'foo.bar2'))
    self.assertFalse(wildcards_overlap('foo.*2', 'foo.*1'))
    self.assertFalse(wildcards_overlap('foo.*', 'food.*'))
    self.assertFalse(wildcards_overlap('a*b*c', '*c*d'))
