def test_base_results(self):

        resp = self.client.get(self.url)
        assert json.loads(resp.content) == {u'validation': self.RESULTS,
                                            u'error': None}

        assert not ValidationAnnotation.objects.exists()
Mock quit method
dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/tests/test_views_validation.py/TestFileAnnotation.test_base_results--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/smtp_test.py/MockSMTPSSL.quit