Created
April 29, 2014 13:21
-
-
Save AdamSaleh/11400191 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: test_update_ActivationKey(content_view_id=1, usage_limit=4, environment_id=1, description=u'a3ih7H42Gkp4heqBOvsY', organization_id=1, name=u'\xc4\xce\xd2\xf2\xd5\xe1\xc5\xcd\xea\xdc\xfc\xf2\xc0\xce\xc1\xc3\xe9\xd3\xf0\xde') (tests.foreman.api.test_activationkey.ActivationKeys) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/asaleh/.virtualenvs/renv/lib/python2.7/site-packages/ddt.py", line 81, in wrapper | |
return func(self, *args, **kwargs) | |
File "tests/foreman/api/test_activationkey.py", line 39, in test_update | |
ak_cr = ApiCrud.record_create(test_data) | |
File "robottelo/api/apicrud.py", line 483, in record_create | |
return api.record_create(instance_orig, user=user) | |
File "robottelo/api/apicrud.py", line 504, in record_create | |
"Couldn't create record", instance, res) | |
ApiException: : ActivationKey(content_view_id=1, organization_id=1, usage_limit=4, environment_id=1, description='empty', name=u'\xc4\xce\xd2\xf2\xd5\xe1\xc5\xcd\xea\xdc\xfc\xf2\xc0\xce\xc1\xc3\xe9\xd3\xf0\xde') | |
python: request(method=post, url=https://qetello01.usersys.redhat.com/katello/api/v2/activation_keys, **{'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'Content-type': 'application/json'}, 'data': '{"content_view_id": 1, "usage_limit": 4, "environment_id": 1, "description": "empty", "organization_id": 1, "name": "\\u00c4\\u00ce\\u00d2\\u00f2\\u00d5\\u00e1\\u00c5\\u00cd\\u00ea\\u00dc\\u00fc\\u00f2\\u00c0\\u00ce\\u00c1\\u00c3\\u00e9\\u00d3\\u00f0\\u00de"}'} | |
bash: curl -X POST -k -u admin:changeme https://qetello01.usersys.redhat.com/katello/api/v2/activation_keys -d {"content_view_id": 1, "usage_limit": 4, "environment_id": 1, "description": "empty", "organization_id": 1, "name": "\u00c4\u00ce\u00d2\u00f2\u00d5\u00e1\u00c5\u00cd\u00ea\u00dc\u00fc\u00f2\u00c0\u00ce\u00c1\u00c3\u00e9\u00d3\u00f0\u00de"} | |
404 | |
{"displayMessage":"Couldn't find organization '1'","errors":["Couldn't find organization '1'"]} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment