fnp
/
fnpdjango.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Support for Django up to 2.2.
[fnpdjango.git]
/
tests
/
tests
/
test_utils_urls.py
1
from django.test import TestCase
2
3
4
class UrlsTestCase(TestCase):
5
def test_i18n_patterns(self):
6
self.assertEqual(self.client.get('/').content.decode('latin1'), 'pl')
7
self.assertEqual(self.client.get('/en/').content.decode('latin1'), 'en')