aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/test_tpb.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test_tpb.py')
-rw-r--r--tests/unit/test_tpb.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/unit/test_tpb.py b/tests/unit/test_tpb.py
new file mode 100644
index 0000000..07eb5d1
--- /dev/null
+++ b/tests/unit/test_tpb.py
@@ -0,0 +1,9 @@
+import unittest
+
+from tpblite import TPB
+
+class TPBTestCase(unittest.TestCase):
+
+ def test_str(self):
+ t = TPB('https://tpb.party')
+ self.assertEqual(str(t), 'TPB Object, base URL: https://tpb.party')