File: test_expressions.py

package info (click to toggle)
sqlalchemy-i18n 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 396 kB
  • sloc: python: 2,164; makefile: 157
file content (6 lines) | stat: -rw-r--r-- 185 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
from sqlalchemy_i18n.expressions import current_locale


class TestCurrentLocaleExpression(object):
    def test_render(self):
        assert str(current_locale()) == ':current_locale'