{"action":"created","issue":{"url":"https://api.github.com/repos/fedora-infra/bodhi/issues/1053","repository_url":"https://api.github.com/repos/fedora-infra/bodhi","labels_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/1053/labels{/name}","comments_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/1053/comments","events_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/1053/events","html_url":"https://github.com/fedora-infra/bodhi/issues/1053","id":184004945,"number":1053,"title":"Use faitout's correct URL in the unit tests","user":{"login":"bowlofeggs","id":354506,"avatar_url":"https://avatars.githubusercontent.com/u/354506?v=3","gravatar_id":"","url":"https://api.github.com/users/bowlofeggs","html_url":"https://github.com/bowlofeggs","followers_url":"https://api.github.com/users/bowlofeggs/followers","following_url":"https://api.github.com/users/bowlofeggs/following{/other_user}","gists_url":"https://api.github.com/users/bowlofeggs/gists{/gist_id}","starred_url":"https://api.github.com/users/bowlofeggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bowlofeggs/subscriptions","organizations_url":"https://api.github.com/users/bowlofeggs/orgs","repos_url":"https://api.github.com/users/bowlofeggs/repos","events_url":"https://api.github.com/users/bowlofeggs/events{/privacy}","received_events_url":"https://api.github.com/users/bowlofeggs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fedora-infra/bodhi/labels/RFE","name":"RFE","color":"f7c6c7"},{"url":"https://api.github.com/repos/fedora-infra/bodhi/labels/Tests","name":"Tests","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-19T16:02:27Z","updated_at":"2016-10-19T17:55:30Z","closed_at":null,"body":"@pypingou pointed out that we could use faitout by a domain name instead of address. We could change\r\n\r\n```\r\nFAITOUT = 'http://209.132.184.152/faitout/\r\n```\r\n\r\nto\r\n\r\n```\r\nhttp://faitout.fedorainfracloud.org/\r\n```\r\n\r\nIn general, we do want the unit tests to work when run on an isolated network so that they will pass when run in the spec file on Koji. However if we can use an environment variable to detect that we are in Jenkins, I think it would be cool to use faitout."},"comment":{"url":"https://api.github.com/repos/fedora-infra/bodhi/issues/comments/254890631","html_url":"https://github.com/fedora-infra/bodhi/issues/1053#issuecomment-254890631","issue_url":"https://api.github.com/repos/fedora-infra/bodhi/issues/1053","id":254890631,"user":{"login":"pypingou","id":1240038,"avatar_url":"https://avatars.githubusercontent.com/u/1240038?v=3","gravatar_id":"","url":"https://api.github.com/users/pypingou","html_url":"https://github.com/pypingou","followers_url":"https://api.github.com/users/pypingou/followers","following_url":"https://api.github.com/users/pypingou/following{/other_user}","gists_url":"https://api.github.com/users/pypingou/gists{/gist_id}","starred_url":"https://api.github.com/users/pypingou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pypingou/subscriptions","organizations_url":"https://api.github.com/users/pypingou/orgs","repos_url":"https://api.github.com/users/pypingou/repos","events_url":"https://api.github.com/users/pypingou/events{/privacy}","received_events_url":"https://api.github.com/users/pypingou/received_events","type":"User","site_admin":false},"created_at":"2016-10-19T17:55:30Z","updated_at":"2016-10-19T17:55:30Z","body":"In pagure we use the environment variable `BUILD_ID` to detect if we're in jenkins or not: https://pagure.io/pagure/blob/master/f/tests/__init__.py#_49-61\r\n\r\nIn case of glitches, the code falls back to sqlite to keep things running :)"}}
{"actor":{"display_login":"pypingou"}}