tests/testprettysize.py
changeset 10 f3a1b9792cc9
parent 2 efee419b7a2d
equal deleted inserted replaced
9:2fcc8ef0b97d 10:f3a1b9792cc9
     1 #!/usr/bin/env python3
     1 #!/usr/bin/env python3
     2 
     2 
     3 import unittest
     3 import unittest
     4 import prettysize
     4 from pgtoolkit import prettysize
     5 
     5 
     6 class TestHumansize(unittest.TestCase):
     6 class TestHumansize(unittest.TestCase):
     7     def test_humansize(self):
     7     def test_humansize(self):
     8         psize = prettysize.prettysize_short
     8         psize = prettysize.prettysize_short
     9         expected = (
     9         expected = (