def test_wsse_algorithm(): digest = httplib2._wsse_username_token("d36e316282959a9ed4c89851497a717f", "2003-12-15T14:43:07Z", "taadtaadpstcsm") expected = "quR/EWLAV4xLf9Zqyw4pDmfV9OY=" assert expected == digest
def test_wsse_algorithm(): digest = httplib2._wsse_username_token('d36e316282959a9ed4c89851497a717f', '2003-12-15T14:43:07Z', 'taadtaadpstcsm') expected = b'quR/EWLAV4xLf9Zqyw4pDmfV9OY=' assert expected == digest
def test_wsse_algorithm(): digest = httplib2._wsse_username_token( "d36e316282959a9ed4c89851497a717f", "2003-12-15T14:43:07Z", "taadtaadpstcsm" ) expected = b"quR/EWLAV4xLf9Zqyw4pDmfV9OY=" assert expected == digest