Commits

Branko Vukelic committed c9c4244

Renamed test module to match new tag name

Comments (0)

Files changed (2)

tests/test_url_params.py

+from __future__ import absolute_import, unicode_literals
+
+from unittest import TestCase
+
+from url_tools.templatetags.urls import url_params
+
+
+class UrlParamsTestCase(TestCase):
+    def test_url_params_basically_works(self):
+        self.assertEquals(
+            url_params('/foo?foo=1', bar='2'),
+            '/foo?foo=1&bar=2'
+        )
+
+    def test_can_override_existing_params(self):
+        self.assertEqual(
+            url_params('/foo?foo=1', foo='2'),
+            '/foo?foo=2'
+        )

tests/test_with_url_params_tag.py

-from __future__ import absolute_import, unicode_literals
-
-from unittest import TestCase
-
-from url_tools.templatetags.urls import url_params
-
-
-class UrlParamsTestCase(TestCase):
-    def test_url_params_basically_works(self):
-        self.assertEquals(
-            url_params('/foo?foo=1', bar='2'),
-            '/foo?foo=1&bar=2'
-        )
-
-    def test_can_override_existing_params(self):
-        self.assertEqual(
-            url_params('/foo?foo=1', foo='2'),
-            '/foo?foo=2'
-        )