def test_mark_message_read_for_other_user(self):
        self.client.login(username=self._get_user().username, password='password')
        user2 = self._get_user(username="john")
        messages.add_message(self.client, WARNING_PERSISTENT, "Warning..", user=user2)
        result = Message.objects.all()[0]
        self.assertEqual(result.user, user2)
        url = reverse('messages:message_mark_read', kwargs={'message_id': result.id})
        self.client.get(url)
        result = Message.objects.all()[0]
        self.assertFalse(result.read)
have valid plugin, with a valid count process
dataset/ETHPy150Open AliLozano/django-messages-extends/messages_extends/tests.py/MessagesTests.test_mark_message_read_for_other_user--crossover with--dataset/ETHPy150Open metafetish/buttplug/tests/test.py/PluginTests.testOnePluginCorrectJSON