blob: 3e830d2f9f9ad1bfec507b61f9380b31a9f69522 [file] [log] [blame]
TEST_RAW={u'deviceLocalAccountPolicies': {}, u'chromePolicies': {u'AllowDinosaurEasterEgg': {u'source': u'sourceCloud', u'level': u'mandatory', u'value': True, u'scope': u'user'}, u'AllowPopupsDuringPageUnload': {u'source': u'sourceEnterpriseDefault', u'level': u'mandatory', u'value': True, u'scope': u'user'}}, u'extensionPolicies': {u'ppcbcngdahbejcebhegfcempcnlnnjlp': {u'SensitiveDictPolicy': {u'source': u'sourceCloud', u'level': u'mandatory', u'value': u'********', u'scope': u'user'}}}}
PARTIAL_RAW={u'chromePolicies': {u'AllowPopupsDuringPageUnload': {u'source': u'sourceEnterpriseDefault', u'level': u'mandatory', u'value': True, u'scope': u'user'}}, u'extensionPolicies': {'emptyExt': {}}, u'deviceLocalAccountPolicies':{}}
POL_WITH_UNICODE={u'extensionPolicies': {u'ext2': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'something', u'level': u'mandatory'}, u'ext1name': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'v1', u'level': u'mandatory'}}, u'deviceLocalAccountPolicies': {u'local1': {u'scope': u'user', u'source': 'local', u'value': 1, u'level': u'mandatory'}}, u'chromePolicies': {u'dino': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': True, u'level': u'mandatory'}, u'dino2': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'string', u'level': u'mandatory'}, u'OpenNetworkConfiguration': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'{\n "NetworkConfigurations": [ {\n "Ethernet": {\n "Authentication": "None"\n },\n "GUID": "da9aC1eF253Fb773",\n "Name": "Managed_Ethernet",\n "ProxySettings": {\n "PAC": "http://localhost:8080/proxy_test.pac",\n "Type": "PAC"\n },\n "Type": "Ethernet"\n } ]\n}\n', u'level': u'mandatory'}}}
POL_WITH_UNICODE_PARSED={u'extensionPolicies': {u'ext2': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'something', u'level': u'mandatory'}, u'ext1name': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'v1', u'level': u'mandatory'}}, u'deviceLocalAccountPolicies': {u'local1': {u'scope': u'user', u'source': 'local', u'value': 1, u'level': u'mandatory'}}, u'chromePolicies': {u'dino': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': True, u'level': u'mandatory'}, u'dino2': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'string', u'level': u'mandatory'}, u'OpenNetworkConfiguration': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': {u'NetworkConfigurations': [{u'Ethernet': {u'Authentication': u'None'}, u'ProxySettings': {u'PAC': u'http://localhost:8080/proxy_test.pac', u'Type': u'PAC'}, u'GUID': u'da9aC1eF253Fb773', u'Type': u'Ethernet', u'Name': u'Managed_Ethernet'}]}, u'level': u'mandatory'}}}
POL_WITH_STRING={u'extensionPolicies': {}, u'deviceLocalAccountPolicies': {}, u'chromePolicies': {u'dino': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': True, u'level': u'mandatory'}, u'dino2': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'string', u'level': u'mandatory'}}}
TEST_MULTI_EXT={u'extensionPolicies': {u'ext2': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'something', u'level': u'mandatory'}, u'ext1name': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'v1', u'level': u'mandatory'}}, u'deviceLocalAccountPolicies': {u'local1': {u'scope': u'user', u'source': 'local', u'value': 1, u'level': u'mandatory'}}, u'chromePolicies': {u'dino': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': True, u'level': u'mandatory'}, u'dino2': {u'scope': u'user', u'source': u'sourceEnterpriseDefault', u'value': u'string', u'level': u'mandatory'}}}