def test_init_templatesdir_already_set(self):
        self.mocks['set_templates_directory'].side_effect = \
            InitTemplateDirAlreadySet('/tmp/templates')

        with self.assertRaises(ForcedExit):
            self.run_command()

        self.assertResults(
            result_with_hint(
                u'Git configuration for init.templatedir is /tmp/templates',
                INIT_TEMPLATE_DIR_ALREADY_SET),
            self.error)
For decorated tests, C{run} uses a result adapter that preserves the
dataset/ETHPy150Open robmadole/jig/src/jig/commands/tests/test_sticky.py/TestStickyCommand.test_init_templatesdir_already_set--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/trial/test/test_tests.py/TestDecoratorMixin.test_usesAdaptedReporterWithRun