Since this thing is on the innerwebs I suppose it should have a
[python_utils.git] / tests / profanity_filter_test.py
index 5648ad350630a68f60af9bf3597a1b0013ec6666..94b2725bf93abdc45fc6866974687908846b27b3 100755 (executable)
@@ -1,5 +1,9 @@
 #!/usr/bin/env python3
 
+# © Copyright 2021-2022, Scott Gasch
+
+"""profanity_filter unittest, you fucker."""
+
 import unittest
 
 import profanity_filter as pf
@@ -7,13 +11,14 @@ import unittest_utils
 
 
 class TestProfanityFilter(unittest.TestCase):
-
     def test_basic_functionality(self):
         p = pf.ProfanityFilter()
         self.assertTrue(p.is_bad_word('shit'))
         self.assertTrue(p.contains_bad_word('this is another fucking test'))
         self.assertTrue(p.contains_bad_word('this is another fuckin test'))
-        self.assertFalse(p.contains_bad_word('Mary had a little lamb whose fleese was white as snow.'))
+        self.assertFalse(
+            p.contains_bad_word('Mary had a little lamb whose fleese was white as snow.')
+        )
 
 
 if __name__ == '__main__':