fnp
/
fnpdjango.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop i18n_patterns prefix parameter.
[fnpdjango.git]
/
tests
/
tests
/
test_utils_urls.py
diff --git a/tests/tests/test_utils_urls.py
b/tests/tests/test_utils_urls.py
new file mode 100644
(file)
index 0000000..
397e54d
--- /dev/null
+++ b/
tests/tests/test_utils_urls.py
@@ -0,0
+1,7
@@
+from django.test import TestCase
+
+
+class UrlsTestCase(TestCase):
+ def test_i18n_patterns(self):
+ self.assertEqual(self.client.get('/').content.decode('latin1'), 'pl')
+ self.assertEqual(self.client.get('/en/').content.decode('latin1'), 'en')