def test_testmoduleOnScript(self):
        """
        Check that --testmodule loads tests referred to in test-case-name
        buffer variables.
        """
        self.config.opt_testmodule(sibpath('scripttest.py'))
        self.assertSuitesEqual(trial._getSuite(self.config),
                               ['twisted.trial.test.test_log',
                                'twisted.trial.test.test_runner'])

        Check that --testmodule loads tests referred to in test-case-name
        buffer variables.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/trial/test/test_script.py