This commit is contained in:
@@ -35,3 +35,10 @@ class TestGeneral(unittest.TestCase):
|
||||
self.skipTest("PRAW Reddit instance failed to create")
|
||||
post = self.cog.get_aww_post()
|
||||
self.assertIsInstance(post.url, str)
|
||||
|
||||
def test_kopieerpasta(self):
|
||||
if not isinstance(self.cog.r, praw.Reddit):
|
||||
self.skipTest("PRAW Reddit instance failed to create")
|
||||
post = self.cog.get_kopieerpasta()
|
||||
self.assertIsInstance(post.url, str)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user