Set owner= for KGB spies throughout rbintegrations tests.
Review Request #10911 — Created Feb. 24, 2020 and submitted
The rbintegrations tests haven't been touched in a while, and we didn't
have the new mostly-requiredowner=
argument for spies on object
methods. This change adds those so we get less noise when running the
test suite.
Ran rbintegrations tests.
Description | From | Last Updated |
---|---|---|
Just a suggestion, feel free to ignore if you don't think it's worth it. I've been trying to enforce a … |
chipx86 |
-
-
Just a suggestion, feel free to ignore if you don't think it's worth it.
I've been trying to enforce a standard of making
owner=
come as the second parameter, right after the thing to spy on, just to help sort of tie them together. So:self.spy_on(FooObject.my_func, owner=FooObject, call_fake=...)
It'd be nice to do this here, to keep it consistent with all the others, but it's just a nit.