Jorgen Schäfer

Results 143 comments of Jorgen Schäfer

You should first identify the units of functionality you are testing. And test behavior, not implementation.

This is unrelated to buttercup, but rather basic testing principles. Do not test "I can write stuff into the database", test the behavior of your application. To answer your question...

> To me, that looks like a good use case for a chain of dependencies Tests should be independent of each other. There is never a good use case for...

The assume macro was added in 673f84de. Not sure how much thought went into the naming. I don't think I've ever used that form.

Hello, and thanks for the report. Is your internet connection particularly slow? `elpy-config` accesses Pypi for current package versions etc.

Thank you very much for the report! Where did you set the pyenv version? According to that output, Elpy runs `/Users/xxx/.pyenv/shims/python`, which is correct for pyenv, but that script claims...

Huh! That's strange. What's the value of the following expression? ``` (let ((process-environment (elpy-rpc--environment))) (cons (executable-find elpy-rpc-python-command) (getenv "PATH"))) ```

Hm. I just installed pyenv, and switching between 2.7.9 and 3.4.2 works fine for Elpy. That is, I can run `pyenv global 2.7.9` and `M-x elpy-config` tells me RPC is...

Oh, I just saw the _local_ part of your comment. Sorry, I do not know pyenv well and did not realize what that meant! That explains things. `pyenv local` will...

The `SyntaxError` is because Python 2 does not have a print function, only a print statement, so it does not take keyword arguments. Arguably, this shouldn't cause a full stack...