def test_terrabytes(self):
     """
     Test correct behavior when TB are passed.
     """
     self.assertEqual(status.human_readable_bytes(40444624896000), '36.8 TB')
 def test_megabytes(self):
     """
     Test correct behavior when MB are passed.
     """
     self.assertEqual(status.human_readable_bytes(97464344), '92.9 MB')
 def test_gigabytes(self):
     """
     Test correct behavior when GB are passed.
     """
     self.assertEqual(status.human_readable_bytes(17584619520), '16.4 GB')
 def test_bytes(self):
     """
     Test correct behavior when bytes are passed in.
     """
     self.assertEqual(status.human_readable_bytes(42), '42 B')
 def test_kilobytes(self):
     """
     Test correct behavior when kB are passed.
     """
     self.assertEqual(status.human_readable_bytes(4096), '4.0 kB')
 def test_terrabytes(self):
     """
     Test correct behavior when TB are passed.
     """
     self.assertEqual(status.human_readable_bytes(40444624896000),
                      '36.8 TB')
 def test_gigabytes(self):
     """
     Test correct behavior when GB are passed.
     """
     self.assertEqual(status.human_readable_bytes(17584619520), '16.4 GB')
 def test_megabytes(self):
     """
     Test correct behavior when MB are passed.
     """
     self.assertEqual(status.human_readable_bytes(97464344), '92.9 MB')
 def test_kilobytes(self):
     """
     Test correct behavior when kB are passed.
     """
     self.assertEqual(status.human_readable_bytes(4096), '4.0 kB')
 def test_bytes(self):
     """
     Test correct behavior when bytes are passed in.
     """
     self.assertEqual(status.human_readable_bytes(42), '42 B')