Test voor kopieerpasta
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-02 21:50:20 +01:00
parent 54b3dfd290
commit 009d64ef16
2 changed files with 31 additions and 14 deletions
+7
View File
@@ -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)