'Test case in which 2 policies are specified using special directives
with empty value.'

def test_retrieve_csp_policies_with_special_policies_case01(self):

    header_value = 'sandbox    ;    script-nonce    '
    hrds = {CSP_HEADER_W3C: header_value}.items()
    csp_headers = Headers(hrds)
    http_response = HTTPResponse(200, '', csp_headers, self.url, self.url)
    policies = retrieve_csp_policies(http_response)
    self.assertEqual(len(policies), 2)
    self.assertEqual(len(policies[CSP_DIRECTIVE_SANDBOX]), 1)
    self.assertEqual(policies[CSP_DIRECTIVE_SANDBOX][0], '')
    self.assertEqual(len(policies[CSP_DIRECTIVE_SCRIPT_NONCE]), 1)
    self.assertEqual(policies[CSP_DIRECTIVE_SCRIPT_NONCE][0], '')
