6029a672ee
Previously, running postcomplete_tests.py could lead to MagicMock objects being left around within the ycm modules. This lead to random test failures in other modules. Further, by using mock.patch appropriately, tests withing postcomplete_tests.py no longer rely on mocking performed by previous tests (and can be successfully run individually)