def test_appcfg_to_dict(): appcfg = DCBModel.bitmask_to_dict(int("0x0d", 0)) assert appcfg == { 0: True, 2: True, 3: True, }