Skip to content

Commit 98b15e7

Browse files
committed
added a simple test for colored_warning
1 parent 84bd0c7 commit 98b15e7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/utils/test_warnings.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from unittest import TestCase
2+
3+
from piccolo.utils.warnings import colored_warning
4+
5+
6+
class TestColoredWarning(TestCase):
7+
def test_colored_warning(self):
8+
"""
9+
Just make sure no errors are raised.
10+
"""
11+
colored_warning(message="TESTING!")

0 commit comments

Comments
 (0)