herr kaste
herr kaste
It looks though like a special case here as ``` class F: def get_value(self, val): return val def test_detached_early(): f = F() f1 = f.get_value when(f).get_value(10).thenReturn('foo') assert f1(10) == 'foo'...
You mean a different way from your original example? Typically just pass in a `mock()`. Then early or late configuration works: ``` class _c(object): def __init__(self, fn): self._fn = fn...
That's not implemented. `inorder.verify` is for one mock or mocked object. There is no global storage for invocations, so we don't have this information at hand.
I used code like this in the past: ``` def test(): message = [] def record_message(message): messages.append(message) when(subscriber1).run(msg).thenAnswer(record_message) ``` If that works: ``` patch(subscriber1, recordMessage) # instead of `when...thenAnswer` may...
Hi! There is something to it but a file size check is so arbitrary ... There is just no default you can justify. As soon as you hit it, a...
So it's still running 🤣
Let's see if the tests pass as it works locally at least.
Okay, would have been nice but that breaks it for ST3. (macOS failures are unrelated.)
Well, the first commit here tried the reloader from AutomaticPackagerReloader which failed for ST3. The second commit tries the reloader from GitSavvy. This passes (except for MacOs as expected). The...
This is unrelated to #228.