From 8b219a2f3dcee0533482aa926e398863fc63d565 Mon Sep 17 00:00:00 2001 From: arif teguh wangi <arifteguhwangi@gmail.com> Date: Thu, 8 Oct 2020 13:36:10 +0700 Subject: [PATCH] [RED] add test tombol citasi --- app/tests.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/tests.py b/app/tests.py index 196b210..d702bef 100644 --- a/app/tests.py +++ b/app/tests.py @@ -160,6 +160,9 @@ class DetailMateriTest(TestCase): self.assertEqual(Comment.objects.all().filter( comment="This is new comment by Anonymous").count(), 0) + def test_tombol_citasiAPA(self): + response = self.client.get(self.url) + self.assertContains(response, 'Citate APA') class PostsViewTest(TestCase): -- GitLab