def test_trigger_simple_event(self):
        self.environment.context.trigger('event1')
        self.assertTrue(self.environment._hookmanager.hooks[0].called1)
Environment's events are propagated to Hooks.
dataset/ETHPy150Open F-Secure/see/see/test/environment_test.py/EnvironmentTest.test_trigger_simple_event