Re: Fumbling with emacs + elpy + flake8

2018-09-14 Thread Toni Sissala
I'm on Ubuntu 16.04. I found out that flake8 did not play well with emacs if installed with --user option, nor when installed in a virtual environment. Didn't research any further, since I got it working with plain pip3 install flake8 Do you see any error messages? Toni On 13.9.2018 21:59,

Re: mocking for get method in requests

2019-03-26 Thread Toni Sissala
On 18.1.2019 19:16, Shakti Kumar wrote: Hello people, I noticed something weird (weird as per my current knowledge, though I know its subjective) today. Hi Kumar, mock_req.get('').return_value = 'Hello' Here you are calling mock_req -MagicMocks get-method with parameter '' and assigning '