aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test_utils.py')
-rw-r--r--tests/unit/test_utils.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit/test_utils.py b/tests/unit/test_utils.py
new file mode 100644
index 0000000..5fa0adf
--- /dev/null
+++ b/tests/unit/test_utils.py
@@ -0,0 +1,11 @@
+import unittest
+
+from tpblite.models import utils
+
+
+class URLTestCase(unittest.TestCase):
+ def test_URL(self):
+ self.assertEqual(
+ utils.URL('https://some.domain', ('1', '99', '200')),
+ 'https://some.domain/1/99/200'
+ )