Exemplo n.º 1
0
    def test_home_with_whiteboard(self):
        msg = WhiteboardMessage(message='test_message')
        msg.save()

        response = self.client.get(reverse('home'))
        self.assertContains(response, 'whiteboard')
        self.assertContains(response, 'test_message')
Exemplo n.º 2
0
    def test_home_with_whiteboard(self):
        msg = WhiteboardMessage(message='test_message')
        msg.save()

        response = self.client.get(reverse('home'))
        self.assertContains(response, 'whiteboard')
        self.assertContains(response, 'test_message')
Exemplo n.º 3
0
    def test_home_with_whiteboard(self):
        msg = WhiteboardMessage(message="test_message")
        msg.save()

        response = self.client.get(reverse("home"))
        self.assertContains(response, "whiteboard")
        self.assertContains(response, "test_message")
Exemplo n.º 4
0
    def test_home_with_whiteboard(self):
        msg = WhiteboardMessage(message="test_message")
        msg.save()

        response = self.client.get(reverse("home"))
        self.assertContains(response, "whiteboard")
        self.assertContains(response, "test_message")