'Ensure non-JSON blob data is correctly converted.'

def test_list_ec2_dict_blob(self):

    (expected_blob, credential_id) = self._create_dict_blob_credential()
    list_r = self.get('/credentials')
    list_creds = list_r.result['credentials']
    list_ids = [r['id'] for r in list_creds]
    self.assertIn(credential_id, list_ids)
    for r in list_creds:
        if (r['id'] == credential_id):
            self.assertEqual(json.loads(expected_blob), json.loads(r['blob']))
