@given(start_action_messages, message_dicts, text(), integers(min_value=1))
    def test_action_type_mismatch(self, start_message, end_message_dict,
                                  end_type, n):
        assume(end_type != start_message.contents[ACTION_TYPE_FIELD])
        end_message = written_from_pmap(union(end_message_dict, {
            ACTION_STATUS_FIELD: SUCCEEDED_STATUS,
            ACTION_TYPE_FIELD: end_type,
            TASK_UUID_FIELD: start_message.task_uuid,
            TASK_LEVEL_FIELD: sibling_task_level(start_message, n),
        }))
        self.assertRaises(
            WrongActionType,
            WrittenAction.from_messages, start_message, end_message=end_message)
Regression test: m.new(key, m.MODE_CFB, segment_size=N) should require segment_size to be a multiple of 8 bits
dataset/ETHPy150Open ClusterHQ/eliot/eliot/tests/test_action.py/WrittenActionTests.test_action_type_mismatch--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pycrypto-2.6.1/lib/Crypto/SelfTest/Cipher/common.py/CFBSegmentSizeTest.runTest