def test_list_partitions():
 from fabtools.disk import partitions
 partitions = partitions()
 for (pname, ptype) in partitions.items():
  puts(('%s is %s' % (pname, hex(ptype))))

def test_list_partitions ( ) : from fabtools . disk import partitions partitions = partitions ( ) for ( pname , ptype ) in partitions . items ( ) : puts ( ( '%s is %s' % ( pname , hex ( ptype ) ) ) )
list disk partitions .