MagicMock is a version of Mock with extra features for tests that need to test usage of magic methods (i.e. __nonzero__, __cmp__, etc.). None of the oauth2client tests actually need these extra features though.
13 KiB
13 KiB