{"action":"created","issue":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3037","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3037/labels{/name}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3037/comments","events_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3037/events","html_url":"https://github.com/SatelliteQE/robottelo/pull/3037","id":116596849,"number":3037,"title":"Fix datafactory bug when functions returned one datapoint","user":{"login":"sthirugn","id":3309189,"avatar_url":"https://avatars.githubusercontent.com/u/3309189?v=3","gravatar_id":"","url":"https://api.github.com/users/sthirugn","html_url":"https://github.com/sthirugn","followers_url":"https://api.github.com/users/sthirugn/followers","following_url":"https://api.github.com/users/sthirugn/following{/other_user}","gists_url":"https://api.github.com/users/sthirugn/gists{/gist_id}","starred_url":"https://api.github.com/users/sthirugn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sthirugn/subscriptions","organizations_url":"https://api.github.com/users/sthirugn/orgs","repos_url":"https://api.github.com/users/sthirugn/repos","events_url":"https://api.github.com/users/sthirugn/events{/privacy}","received_events_url":"https://api.github.com/users/sthirugn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/UI","name":"UI","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"sthirugn","id":3309189,"avatar_url":"https://avatars.githubusercontent.com/u/3309189?v=3","gravatar_id":"","url":"https://api.github.com/users/sthirugn","html_url":"https://github.com/sthirugn","followers_url":"https://api.github.com/users/sthirugn/followers","following_url":"https://api.github.com/users/sthirugn/following{/other_user}","gists_url":"https://api.github.com/users/sthirugn/gists{/gist_id}","starred_url":"https://api.github.com/users/sthirugn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sthirugn/subscriptions","organizations_url":"https://api.github.com/users/sthirugn/orgs","repos_url":"https://api.github.com/users/sthirugn/repos","events_url":"https://api.github.com/users/sthirugn/events{/privacy}","received_events_url":"https://api.github.com/users/sthirugn/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-11-12T17:19:11Z","updated_at":"2015-11-12T17:34:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/pulls/3037","html_url":"https://github.com/SatelliteQE/robottelo/pull/3037","diff_url":"https://github.com/SatelliteQE/robottelo/pull/3037.diff","patch_url":"https://github.com/SatelliteQE/robottelo/pull/3037.patch"},"body":"Earlier the tests failed when valid_data_list() returned one datapoint. Now it is fixed.\r\nTest:\r\n```sh\r\nIn [17]: valid_data = [0,1,2,3]\r\nIn [18]: print random.choice(valid_data)\r\n1\r\nIn [19]: valid_data = [0]\r\nIn [20]: print random.choice(valid_data)\r\n0\r\n```"},"comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/comments/156177519","html_url":"https://github.com/SatelliteQE/robottelo/pull/3037#issuecomment-156177519","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3037","id":156177519,"user":{"login":"oshtaier","id":10895065,"avatar_url":"https://avatars.githubusercontent.com/u/10895065?v=3","gravatar_id":"","url":"https://api.github.com/users/oshtaier","html_url":"https://github.com/oshtaier","followers_url":"https://api.github.com/users/oshtaier/followers","following_url":"https://api.github.com/users/oshtaier/following{/other_user}","gists_url":"https://api.github.com/users/oshtaier/gists{/gist_id}","starred_url":"https://api.github.com/users/oshtaier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oshtaier/subscriptions","organizations_url":"https://api.github.com/users/oshtaier/orgs","repos_url":"https://api.github.com/users/oshtaier/repos","events_url":"https://api.github.com/users/oshtaier/events{/privacy}","received_events_url":"https://api.github.com/users/oshtaier/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T17:34:56Z","updated_at":"2015-11-12T17:34:56Z","body":"That is more valid approach"}}