def test_exact_matcher_true(self): matcher = search._ExactMatcher('album', 'Foo', lambda x: x) self.str.track.set_tag_raw('album', 'Foo') assert matcher.match(self.str)
def test_exact_matcher_false(self): matcher = search._ExactMatcher('album', 'Foo', lambda x: x) self.str.track.set_tag_raw('album', 'FoO') self.assertFalse(matcher.match(self.str))