MCPcopy
hub / github.com/django/django / test_safestr

Method test_safestr

tests/i18n/tests.py:1927–1930  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1925 tm.save()
1926
1927 def test_safestr(self):
1928 c = Company(cents_paid=12, products_delivered=1)
1929 c.name = SafeString("Iñtërnâtiônàlizætiøn1")
1930 c.save()
1931
1932
1933class TestLanguageInfo(SimpleTestCase):

Callers

nothing calls this directly

Calls 3

SafeStringClass · 0.90
CompanyClass · 0.70
saveMethod · 0.45

Tested by

no test coverage detected