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')
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')
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")
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")
def test_can_be_imported(self): """Test that whiteboard model can be imported. Rather dumb test just to make sure there are no obvious parsing errors. """ WhiteboardMessage()