def test_ends_with(self):
        f = EndsWith('name', 'test')
        self.assertEqual("%s" % f, '.re(name, ".*test$")')

#    def test_re(self):
#        # FIXME: Regular expressions are broken
#        f = RE('name', r"\s+([A-Za-z0-9]+)")
#        self.assertEqual("%s" % f, r'.re(name, "\s+([A-Za-z0-9]+)")')
dataset/ETHPy150Open tsileo/cube-client/cube/tests/test_filters.py/TestFilter.test_ends_with/original