We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b1a1f commit f4dffecCopy full SHA for f4dffec
tests/utils/__init__.py
tests/utils/test_printing.py
@@ -0,0 +1,9 @@
1
+from unittest import TestCase
2
+
3
+from piccolo.utils.printing import get_fixed_length_string
4
5
6
+class TestGetFixedLengthString(TestCase):
7
+ def test_get_fixed_length_string(self):
8
+ result = get_fixed_length_string(string="hello", length=10)
9
+ self.assertEqual(result, "hello ")
0 commit comments