doubles icon indicating copy to clipboard operation
doubles copied to clipboard

Base TestCase

Open skudriashev opened this issue 7 years ago • 0 comments

I'm thinking of having a doubles.TestCase with helper method _patch_class with the following usage:

    class MyTest(doubles.TestCase):
        def setUp(self):
            _class, _instance = self._path_class(<target>)

This helper method will simplify patching target by getting it's class and instance automatically.

What you think?

skudriashev avatar Jun 28 '18 00:06 skudriashev