Commit 6736c0b8 authored by Okhin's avatar Okhin
Browse files

Testing that update works

parent acd7adfd
......@@ -86,6 +86,13 @@ class TestArticle(TestCase):
assert self.newarticle.speak
assert self.newarticle.quote
def test_update(self):
old_title = self.article.title
self.article.title = old_title[::-1]
assert self.article.title != old_title
class TestArticleViews(TestCase):
def setUp(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment