Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/n/o/nova-HEAD/nova/tests/objects/test_instance_action.py   nova(Download)
    def test_event_start(self, mock_start):
        timeutils.set_time_override(override_time=NOW)
        expected_packed_values = compute_utils.pack_action_event_start(
            self.context, 'fake-uuid', 'fake-event')
        mock_start.return_value = fake_event
    def test_event_start_no_result(self, mock_start):
        timeutils.set_time_override(override_time=NOW)
        expected_packed_values = compute_utils.pack_action_event_start(
            self.context, 'fake-uuid', 'fake-event')
        mock_start.return_value = fake_event