{"action":"created","issue":{"url":"https://api.github.com/repos/jorgenschaefer/elpy/issues/931","repository_url":"https://api.github.com/repos/jorgenschaefer/elpy","labels_url":"https://api.github.com/repos/jorgenschaefer/elpy/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/jorgenschaefer/elpy/issues/931/comments","events_url":"https://api.github.com/repos/jorgenschaefer/elpy/issues/931/events","html_url":"https://github.com/jorgenschaefer/elpy/issues/931","id":164671792,"number":931,"title":"Running unit test with bad project root (Django)","user":{"login":"vindarel","id":3721004,"avatar_url":"https://avatars.githubusercontent.com/u/3721004?v=3","gravatar_id":"","url":"https://api.github.com/users/vindarel","html_url":"https://github.com/vindarel","followers_url":"https://api.github.com/users/vindarel/followers","following_url":"https://api.github.com/users/vindarel/following{/other_user}","gists_url":"https://api.github.com/users/vindarel/gists{/gist_id}","starred_url":"https://api.github.com/users/vindarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vindarel/subscriptions","organizations_url":"https://api.github.com/users/vindarel/orgs","repos_url":"https://api.github.com/users/vindarel/repos","events_url":"https://api.github.com/users/vindarel/events{/privacy}","received_events_url":"https://api.github.com/users/vindarel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jorgenschaefer/elpy/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jorgenschaefer/elpy/milestones/21","html_url":"https://github.com/jorgenschaefer/elpy/milestones/v1.13","labels_url":"https://api.github.com/repos/jorgenschaefer/elpy/milestones/21/labels","id":1679457,"number":21,"title":"v1.13","description":"","creator":{"login":"jorgenschaefer","id":2500270,"avatar_url":"https://avatars.githubusercontent.com/u/2500270?v=3","gravatar_id":"","url":"https://api.github.com/users/jorgenschaefer","html_url":"https://github.com/jorgenschaefer","followers_url":"https://api.github.com/users/jorgenschaefer/followers","following_url":"https://api.github.com/users/jorgenschaefer/following{/other_user}","gists_url":"https://api.github.com/users/jorgenschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/jorgenschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorgenschaefer/subscriptions","organizations_url":"https://api.github.com/users/jorgenschaefer/orgs","repos_url":"https://api.github.com/users/jorgenschaefer/repos","events_url":"https://api.github.com/users/jorgenschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/jorgenschaefer/received_events","type":"User","site_admin":false},"open_issues":78,"closed_issues":41,"state":"open","created_at":"2016-04-02T14:34:19Z","updated_at":"2016-08-26T07:15:01Z","due_on":"2016-07-31T22:00:00Z","closed_at":null},"comments":5,"created_at":"2016-07-09T15:33:57Z","updated_at":"2016-08-31T11:47:47Z","closed_at":null,"body":"Hi !\r\n\r\nSo today I finally discovered this elpy feature.\r\n\r\nFirst I had to dive in the code to see and edit the following variable `(setq elpy-test-django-runner-command '(\"./manage.py\" \"test\"))`.\r\n\r\nThen I tried to run my unit test with `M-x elpy-test-django-runner` but it failed because the project root was one directory too up.\r\n\r\nI edited elpy.el's `elpy-test-at-point` like so\r\n\r\n        ;; (let* ((top (elpy-library-root))\r\n      (let* ((top (elpy-project-find-projectile-root))\r\n\r\nand it worked :)\r\n\r\nSo I don't know if it's just me, but to me this elpy command is broken. Is that so, or can I fix the project root by another mean ?\r\n\r\nUsing elpy 20160613.\r\n\r\nthanks !\r\n"},"comment":{"url":"https://api.github.com/repos/jorgenschaefer/elpy/issues/comments/243739983","html_url":"https://github.com/jorgenschaefer/elpy/issues/931#issuecomment-243739983","issue_url":"https://api.github.com/repos/jorgenschaefer/elpy/issues/931","id":243739983,"user":{"login":"vindarel","id":3721004,"avatar_url":"https://avatars.githubusercontent.com/u/3721004?v=3","gravatar_id":"","url":"https://api.github.com/users/vindarel","html_url":"https://github.com/vindarel","followers_url":"https://api.github.com/users/vindarel/followers","following_url":"https://api.github.com/users/vindarel/following{/other_user}","gists_url":"https://api.github.com/users/vindarel/gists{/gist_id}","starred_url":"https://api.github.com/users/vindarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vindarel/subscriptions","organizations_url":"https://api.github.com/users/vindarel/orgs","repos_url":"https://api.github.com/users/vindarel/repos","events_url":"https://api.github.com/users/vindarel/events{/privacy}","received_events_url":"https://api.github.com/users/vindarel/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T11:47:47Z","updated_at":"2016-08-31T11:47:47Z","body":"Hey, a last question. Do we agree that the actual way is to manually change an environment variable, for each project, and that what I did doesn't require this step, but is not universal. So, would you accept elpy to be configurable to accept one method or the other ? (I'm asking but I reckon I maybe should get myself more familiar with elpy before.) \r\n\r\nThanks anyway"}}
{"actor":{"display_login":"vindarel"}}