def test_list_partitions():

    from fabtools.disk import partitions

    partitions = partitions()
    for pname, ptype in partitions.items():
        puts("%s is %s" % (pname, hex(ptype)))
Returns field's value prepared for database lookup.
dataset/ETHPy150Open ronnix/fabtools/fabtools/tests/functional_tests/test_disk.py/test_list_partitions--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/db/models/fields/__init__.py/Field.get_db_prep_lookup