fnp
/
fnpdjango.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
397e54d31f45ee22e983b6a96bc37ea04759e8c9
[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')