summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/acl_test.py4
-rwxr-xr-xtests/centcount_test.py4
-rwxr-xr-xtests/dateparse_utils_test.py4
-rwxr-xr-xtests/decorator_utils_test.py4
-rwxr-xr-xtests/dict_utils_test.py4
-rwxr-xr-xtests/exec_utils_test.py4
-rwxr-xr-xtests/google_assistant_test.py4
-rwxr-xr-xtests/letter_compress_test.py4
-rwxr-xr-xtests/logging_utils_test.py4
-rwxr-xr-xtests/money_test.py4
-rwxr-xr-xtests/parallelize_itest.py4
-rwxr-xr-xtests/profanity_filter_test.py4
-rwxr-xr-xtests/rate_test.py4
-rwxr-xr-xtests/run_some_dependencies_test.py2
-rwxr-xr-xtests/shared_dict_test.py4
-rwxr-xr-xtests/string_utils_test.py4
-rwxr-xr-xtests/thread_utils_test.py4
-rwxr-xr-xtests/waitable_presence_test.py5
18 files changed, 70 insertions, 1 deletions
diff --git a/tests/acl_test.py b/tests/acl_test.py
index a1d827e..4009617 100755
--- a/tests/acl_test.py
+++ b/tests/acl_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""acl unittest."""
+
import re
import unittest
diff --git a/tests/centcount_test.py b/tests/centcount_test.py
index c4b3b0c..53204c9 100755
--- a/tests/centcount_test.py
+++ b/tests/centcount_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""centcount unittest."""
+
import unittest
import unittest_utils as uu
diff --git a/tests/dateparse_utils_test.py b/tests/dateparse_utils_test.py
index 42df954..6e539ff 100755
--- a/tests/dateparse_utils_test.py
+++ b/tests/dateparse_utils_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""dateparse_utils unittest."""
+
import datetime
import random
import re
diff --git a/tests/decorator_utils_test.py b/tests/decorator_utils_test.py
index 2cc2b5f..68f1389 100755
--- a/tests/decorator_utils_test.py
+++ b/tests/decorator_utils_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""decorator_utils unittest such as it is."""
+
import unittest
import decorator_utils as du
diff --git a/tests/dict_utils_test.py b/tests/dict_utils_test.py
index a8f6273..8964f91 100755
--- a/tests/dict_utils_test.py
+++ b/tests/dict_utils_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""dict_utils unittest."""
+
import unittest
import dict_utils as du
diff --git a/tests/exec_utils_test.py b/tests/exec_utils_test.py
index eb179da..4c003aa 100755
--- a/tests/exec_utils_test.py
+++ b/tests/exec_utils_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""exec_utils unittest."""
+
import unittest
import exec_utils
diff --git a/tests/google_assistant_test.py b/tests/google_assistant_test.py
index 857c1e4..a162594 100755
--- a/tests/google_assistant_test.py
+++ b/tests/google_assistant_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""google_assistant unittest."""
+
import unittest
from unittest.mock import MagicMock, patch
diff --git a/tests/letter_compress_test.py b/tests/letter_compress_test.py
index e67838a..1a47ba4 100755
--- a/tests/letter_compress_test.py
+++ b/tests/letter_compress_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""letter_compress unittest."""
+
import math
import random
import unittest
diff --git a/tests/logging_utils_test.py b/tests/logging_utils_test.py
index a9625d6..99ceeae 100755
--- a/tests/logging_utils_test.py
+++ b/tests/logging_utils_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""logging_utils unittest."""
+
import os
import sys
import tempfile
diff --git a/tests/money_test.py b/tests/money_test.py
index f981532..bbca499 100755
--- a/tests/money_test.py
+++ b/tests/money_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""money unittest."""
+
import unittest
import unittest_utils as uu
diff --git a/tests/parallelize_itest.py b/tests/parallelize_itest.py
index 409b8dc..ef154a7 100755
--- a/tests/parallelize_itest.py
+++ b/tests/parallelize_itest.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""parallelize unittest."""
+
import logging
import sys
diff --git a/tests/profanity_filter_test.py b/tests/profanity_filter_test.py
index e452d6a..94b2725 100755
--- a/tests/profanity_filter_test.py
+++ b/tests/profanity_filter_test.py
@@ -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
diff --git a/tests/rate_test.py b/tests/rate_test.py
index e750119..df4ccae 100755
--- a/tests/rate_test.py
+++ b/tests/rate_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""rate unittest."""
+
import unittest
import unittest_utils as uu
diff --git a/tests/run_some_dependencies_test.py b/tests/run_some_dependencies_test.py
index fcc9e7a..c9f48a5 100755
--- a/tests/run_some_dependencies_test.py
+++ b/tests/run_some_dependencies_test.py
@@ -1,5 +1,7 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
"""This is a "test" that just runs a few system utilities that have
dependencies on this library in "do nothing" mode and makes sure they
exit cleanly.
diff --git a/tests/shared_dict_test.py b/tests/shared_dict_test.py
index 0b73a45..230bdb9 100755
--- a/tests/shared_dict_test.py
+++ b/tests/shared_dict_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""shared_dict unittest."""
+
import unittest
import parallelize as p
diff --git a/tests/string_utils_test.py b/tests/string_utils_test.py
index 5184894..c111b64 100755
--- a/tests/string_utils_test.py
+++ b/tests/string_utils_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""string_utils unittest."""
+
import unittest
import bootstrap
diff --git a/tests/thread_utils_test.py b/tests/thread_utils_test.py
index 7fcdca8..40ecfac 100755
--- a/tests/thread_utils_test.py
+++ b/tests/thread_utils_test.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python3
+# © Copyright 2021-2022, Scott Gasch
+
+"""thread_utils unittest."""
+
import threading
import time
import unittest
diff --git a/tests/waitable_presence_test.py b/tests/waitable_presence_test.py
index ff4225c..f9e95e9 100755
--- a/tests/waitable_presence_test.py
+++ b/tests/waitable_presence_test.py
@@ -1,6 +1,9 @@
#!/usr/bin/env python3
-import re
+# © Copyright 2021-2022, Scott Gasch
+
+"""waitable_presence unittest."""
+
import unittest
from unittest.mock import MagicMock