Ejemplo n.º 1
0
 def body(self):
     if self._compacted_body is None:
         return None
     return decode_blob(self._compacted_body).decode('utf-8')
Ejemplo n.º 2
0
def test_blobstorage(config, sample_input, encrypt):
    config["ENCRYPT_SECRETS"] = encrypt
    assert decode_blob(encode_blob(sample_input)) == sample_input
Ejemplo n.º 3
0
 def body(self):
     if self._compacted_body is None:
         return None
     return decode_blob(self._compacted_body).decode('utf-8')
Ejemplo n.º 4
0
def test_blobstorage(config, sample_input, encrypt):
    config['ENCRYPT_SECRETS'] = encrypt
    assert decode_blob(encode_blob(sample_input)) == sample_input