def test_backend_credential_sql_encrypted_string(self):
    cred_dict = {'id': uuid.uuid4().hex, 'type': uuid.uuid4().hex, 'hash': uuid.uuid4().hex, 'encrypted_blob': b'randomdata'}
    ref = credential_sql.CredentialModel.from_dict(cred_dict)
    self.assertIsInstance(ref.encrypted_blob, str)
def test_backend_credential_sql_encrypted_string(self):
    cred_dict = {'id': uuid.uuid4().hex, 'type': uuid.uuid4().hex, 'hash': uuid.uuid4().hex, 'encrypted_blob': b'randomdata'}
    ref = credential_sql.CredentialModel.from_dict(cred_dict)
    self.assertIsInstance(ref.encrypted_blob, str)