Ejemplo n.º 1
0
 def test_get_disk_partition_and_usage_has_percentage_key(self):
     self.assertTrue('percentage' in dictonary_subkey_lister(
         get_disk_partitions_and_usage()))
Ejemplo n.º 2
0
 def test_get_disk_partition_and_usage_has_mountpoint_key(self):
     self.assertTrue('mountpoint' in dictonary_subkey_lister(
         get_disk_partitions_and_usage()))
Ejemplo n.º 3
0
 def test_get_disk_partition_and_usage_has_total_key(self):
     self.assertTrue('total' in dictonary_subkey_lister(
         get_disk_partitions_and_usage()))
Ejemplo n.º 4
0
 def test_get_disk_partition_and_usage_returns_dict(self):
     self.assertTrue(type(get_disk_partitions_and_usage()) is dict)