{"action":"created","issue":{"url":"https://api.github.com/repos/18F/cg-compliance/issues/111","repository_url":"https://api.github.com/repos/18F/cg-compliance","labels_url":"https://api.github.com/repos/18F/cg-compliance/issues/111/labels{/name}","comments_url":"https://api.github.com/repos/18F/cg-compliance/issues/111/comments","events_url":"https://api.github.com/repos/18F/cg-compliance/issues/111/events","html_url":"https://github.com/18F/cg-compliance/pull/111","id":160471501,"number":111,"title":"Fix BDD tests by using requests instead of urllib","user":{"login":"pburkholder","id":1211146,"avatar_url":"https://avatars.githubusercontent.com/u/1211146?v=3","gravatar_id":"","url":"https://api.github.com/users/pburkholder","html_url":"https://github.com/pburkholder","followers_url":"https://api.github.com/users/pburkholder/followers","following_url":"https://api.github.com/users/pburkholder/following{/other_user}","gists_url":"https://api.github.com/users/pburkholder/gists{/gist_id}","starred_url":"https://api.github.com/users/pburkholder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pburkholder/subscriptions","organizations_url":"https://api.github.com/users/pburkholder/orgs","repos_url":"https://api.github.com/users/pburkholder/repos","events_url":"https://api.github.com/users/pburkholder/events{/privacy}","received_events_url":"https://api.github.com/users/pburkholder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T16:54:42Z","updated_at":"2016-06-15T17:01:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/18F/cg-compliance/pulls/111","html_url":"https://github.com/18F/cg-compliance/pull/111","diff_url":"https://github.com/18F/cg-compliance/pull/111.diff","patch_url":"https://github.com/18F/cg-compliance/pull/111.patch"},"body":"master branch was giving me:\r\n\r\n```\r\n$ behave\r\nException ImportError: cannot import name request\r\nTraceback (most recent call last):\r\n  File \"/Users/pburkholder/Library/Python/2.7/bin/behave\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/Users/pburkholder/Library/Python/2.7/lib/python/site-packages/behave/__main__.py\", line 109, in main\r\n    failed = runner.run()\r\n  File \"/Users/pburkholder/Library/Python/2.7/lib/python/site-packages/behave/runner.py\", line 672, in run\r\n    return self.run_with_paths()\r\n  File \"/Users/pburkholder/Library/Python/2.7/lib/python/site-packages/behave/runner.py\", line 678, in run_with_paths\r\n    self.load_step_definitions()\r\n  File \"/Users/pburkholder/Library/Python/2.7/lib/python/site-packages/behave/runner.py\", line 658, in load_step_definitions\r\n    exec_file(os.path.join(path, name), step_module_globals)\r\n  File \"/Users/pburkholder/Library/Python/2.7/lib/python/site-packages/behave/runner.py\", line 304, in exec_file\r\n    exec(code, globals, locals)\r\n  File \"steps/policies.py\", line 2, in <module>\r\n    from urllib import request\r\nImportError: cannot import name request\r\n```\r\n\r\nand the requirements.txt already has `requests` but not `urllib`.   This PR 'just works' out of the box now."},"comment":{"url":"https://api.github.com/repos/18F/cg-compliance/issues/comments/226251707","html_url":"https://github.com/18F/cg-compliance/pull/111#issuecomment-226251707","issue_url":"https://api.github.com/repos/18F/cg-compliance/issues/111","id":226251707,"user":{"login":"afeld","id":86842,"avatar_url":"https://avatars.githubusercontent.com/u/86842?v=3","gravatar_id":"","url":"https://api.github.com/users/afeld","html_url":"https://github.com/afeld","followers_url":"https://api.github.com/users/afeld/followers","following_url":"https://api.github.com/users/afeld/following{/other_user}","gists_url":"https://api.github.com/users/afeld/gists{/gist_id}","starred_url":"https://api.github.com/users/afeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afeld/subscriptions","organizations_url":"https://api.github.com/users/afeld/orgs","repos_url":"https://api.github.com/users/afeld/repos","events_url":"https://api.github.com/users/afeld/events{/privacy}","received_events_url":"https://api.github.com/users/afeld/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T17:01:03Z","updated_at":"2016-06-15T17:01:03Z","body":"Nice, thanks so much! We're [using Python 3.4](https://github.com/18F/cg-compliance/blob/4a31bc514120af276656d305eade5a2147254ee0/.travis.yml#L6) in Travis...would that make a difference? I'm not a Python expert so don't understand such things. Anyway, tests, pass, so merging!"}}
{"actor":{"display_login":"afeld"}}