{"action":"created","issue":{"url":"https://api.github.com/repos/switch-model/switch/issues/7","labels_url":"https://api.github.com/repos/switch-model/switch/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/switch-model/switch/issues/7/comments","events_url":"https://api.github.com/repos/switch-model/switch/issues/7/events","html_url":"https://github.com/switch-model/switch/issues/7","id":95073757,"number":7,"title":"run_tests.py scan fails on fresh installation","user":{"login":"josiahjohnston","id":1594604,"avatar_url":"https://avatars.githubusercontent.com/u/1594604?v=3","gravatar_id":"","url":"https://api.github.com/users/josiahjohnston","html_url":"https://github.com/josiahjohnston","followers_url":"https://api.github.com/users/josiahjohnston/followers","following_url":"https://api.github.com/users/josiahjohnston/following{/other_user}","gists_url":"https://api.github.com/users/josiahjohnston/gists{/gist_id}","starred_url":"https://api.github.com/users/josiahjohnston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josiahjohnston/subscriptions","organizations_url":"https://api.github.com/users/josiahjohnston/orgs","repos_url":"https://api.github.com/users/josiahjohnston/repos","events_url":"https://api.github.com/users/josiahjohnston/events{/privacy}","received_events_url":"https://api.github.com/users/josiahjohnston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mseaborn","id":85055,"avatar_url":"https://avatars.githubusercontent.com/u/85055?v=3","gravatar_id":"","url":"https://api.github.com/users/mseaborn","html_url":"https://github.com/mseaborn","followers_url":"https://api.github.com/users/mseaborn/followers","following_url":"https://api.github.com/users/mseaborn/following{/other_user}","gists_url":"https://api.github.com/users/mseaborn/gists{/gist_id}","starred_url":"https://api.github.com/users/mseaborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mseaborn/subscriptions","organizations_url":"https://api.github.com/users/mseaborn/orgs","repos_url":"https://api.github.com/users/mseaborn/repos","events_url":"https://api.github.com/users/mseaborn/events{/privacy}","received_events_url":"https://api.github.com/users/mseaborn/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-07-15T00:40:42Z","updated_at":"2015-07-15T22:54:41Z","closed_at":null,"body":"Reed had trouble with run_tests.py on a fresh install. I'll ask him to assign himself as well to join in the conversation.\r\n\r\n```bash\r\nReeds-MacBook-Air-2:/ reedHaubenstock$ ls -l /Users/reedHaubenstock/Desktop/switch_py\r\n/Users/reedHaubenstock/Desktop/switch_py:\r\ntotal 72\r\n-rwxr-xr-x@  1 reedHaubenstock  staff    342 Jul  8 20:15 AUTHORS\r\n-rwxr-xr-x@  1 reedHaubenstock  staff   1104 Jul  8 20:15 INSTALL\r\n-rwxr-xr-x@  1 reedHaubenstock  staff  11555 Jul  8 20:15 LICENSE\r\n-rwxr-xr-x@  1 reedHaubenstock  staff    732 Jul  8 20:15 LICENSE.BOILERPLATE\r\n-rwxr-xr-x@  1 reedHaubenstock  staff    956 Jul  8 20:15 README\r\ndrwxr-xr-x@ 30 reedHaubenstock  staff   1020 Jul  8 20:15 doc\r\ndrwxr-xr-x@  9 reedHaubenstock  staff    306 Jul 14 12:24 examples\r\n-rwxr-xr-x@  1 reedHaubenstock  staff   2257 Jul  8 20:15 run_tests.py\r\n-rw-r--r--+  1 reedHaubenstock  staff   1609 Jul 14 12:19 run_tests.pyc\r\ndrwxr-xr-x@ 15 reedHaubenstock  staff    510 Jul  8 20:15 sandbox_dev\r\ndrwxr-xr-x@ 32 reedHaubenstock  staff   1088 Jul 14 12:18 switch_mod\r\ndrwxr-xr-x@  4 reedHaubenstock  staff    136 Jul  8 20:15 tests\r\nReeds-MacBook-Air-2:/ reedHaubenstock$ echo $PYTHONPATH\r\n:/Users/reedHaubenstock/Desktop/switch_py\r\nReeds-MacBook-Air-2:/ reedHaubenstock$ cd Users/reedHaubenstock/Desktop/switch_py \r\nReeds-MacBook-Air-2:switch_py reedHaubenstock$ ./run_tests.py\r\n\r\n----------------------------------------------------------------------\r\nRan 0 tests in 0.000s\r\n\r\nOK\r\n```"},"comment":{"url":"https://api.github.com/repos/switch-model/switch/issues/comments/121771393","html_url":"https://github.com/switch-model/switch/issues/7#issuecomment-121771393","issue_url":"https://api.github.com/repos/switch-model/switch/issues/7","id":121771393,"user":{"login":"mseaborn","id":85055,"avatar_url":"https://avatars.githubusercontent.com/u/85055?v=3","gravatar_id":"","url":"https://api.github.com/users/mseaborn","html_url":"https://github.com/mseaborn","followers_url":"https://api.github.com/users/mseaborn/followers","following_url":"https://api.github.com/users/mseaborn/following{/other_user}","gists_url":"https://api.github.com/users/mseaborn/gists{/gist_id}","starred_url":"https://api.github.com/users/mseaborn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mseaborn/subscriptions","organizations_url":"https://api.github.com/users/mseaborn/orgs","repos_url":"https://api.github.com/users/mseaborn/repos","events_url":"https://api.github.com/users/mseaborn/events{/privacy}","received_events_url":"https://api.github.com/users/mseaborn/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T22:54:41Z","updated_at":"2015-07-15T22:54:41Z","body":"My guess is that the way run_tests.py overrides the discover() method isn't working on Python 2.7.3, and that's why it doesn't find the tests.  I will need to check that, though."}}