From 5c23f2d4a43ad008cf0ac620693d4bc2487bd7a3 Mon Sep 17 00:00:00 2001 From: Gustavo Bernardo Date: Sat, 29 Oct 2016 15:27:33 -0300 Subject: [PATCH] Test update link finished [Issue:#124] --- links/tests.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/links/tests.py b/links/tests.py index 468a2a6..4a02b1d 100644 --- a/links/tests.py +++ b/links/tests.py @@ -154,7 +154,9 @@ class LinkTestCase(TestCase): url = reverse('course:links:update_link',kwargs={'slug': self.link.slug}) print("slug",self.link.slug) data = { + "name" : 'testinglink', "link_description":'new description', + "link_url" : 'teste.com', } self.assertEqual(Link.objects.all()[0].link_description, "testdescription") # old description response = self.client.post(url, data) -- libgit2 0.21.2