Ejemplo n.º 1
0
 def test_size_in_nothing(self):
     self.assertEqual(detect.size_in_gb('100'), '100')
Ejemplo n.º 2
0
 def test_size_in_dottb(self):
     self.assertEqual(detect.size_in_gb('3.4601 TB'), '3460')
Ejemplo n.º 3
0
 def test_size_in_tb(self):
     self.assertEqual(detect.size_in_gb('100TB'), '100000')
Ejemplo n.º 4
0
 def test_size_in_nothing(self):
     self.assertEqual(detect.size_in_gb('100'), '100')
Ejemplo n.º 5
0
 def test_size_in_dottb(self):
     self.assertEqual(detect.size_in_gb('3.4601 TB'), '3460')
Ejemplo n.º 6
0
 def test_size_in_tb(self):
     self.assertEqual(detect.size_in_gb('100TB'), '100000')