'Makes sure messages with no "order" key fail'

def test_enforce_ordering_fail_no_order(self):

    message0 = Message({u'reply_channel': u'test-reply-d'}, None, channel_layers[DEFAULT_CHANNEL_LAYER])
    @enforce_ordering
    def inner(message):
        pass
    with self.assertRaises(ValueError):
        inner(message0)
