We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de6222 commit 614e30dCopy full SHA for 614e30d
build/lib/tests/pytrailTest.py
@@ -0,0 +1,12 @@
1
+from pytrail.__init__ import __version__
2
+from pytrail.models import Client
3
+from pytrail.exceptions import InvalidNameException
4
+
5
+def TestVersion():
6
+ assert __version__ == '0.1.0'
7
8
+def TestClient():
9
+ assert Client('red notice').trailer == 'https://www.youtube.com/watch/?v=T6l3mM7AWew'
10
11
+def TestException():
12
+ assert Client('') == InvalidNameException('the name you entered is invalid.')
0 commit comments