def test_basicTrialIntegration(self):
        """
        L{loadDoctests} loads all of the doctests in the given module.
        """
        loader = runner.TestLoader()
        suite = loader.loadDoctests(mockdoctest)
        self.assertEqual(7, suite.countTestCases())

        L{loadDoctests} loads all of the doctests in the given module.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_doctest.py