File: test_escape_like.py

package info (click to toggle)
python-sqlalchemy-utils 0.41.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,252 kB
  • sloc: python: 13,566; makefile: 141
file content (6 lines) | stat: -rw-r--r-- 149 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
from sqlalchemy_utils import escape_like


class TestEscapeLike:
    def test_escapes_wildcards(self):
        assert escape_like('_*%') == '*_***%'