def METHOD_NAME(self):
    pattern = '{primary_url}foo\.css\?'
    self.oracle.set_patterns([pattern])
    result = self.oracle.ignores('http://www.example.com/bar.css??/foo.css?body=1', primary_url='http://www.example.com/bar.css??/')
    self.assertEqual(result, pattern)