add a unit test
This commit is contained in:
parent
be46cc1f1b
commit
45c41b8ad0
8
funniest/tests/test_joke.py
Normal file
8
funniest/tests/test_joke.py
Normal file
@ -0,0 +1,8 @@
|
||||
from unittest import TestCase
|
||||
|
||||
import funniest
|
||||
|
||||
class TestJoke(TestCase):
|
||||
def test_is_string(self):
|
||||
s = funniest.joke()
|
||||
self.assertTrue(isinstance(s, str))
|
Loading…
x
Reference in New Issue
Block a user