Skip to content

Commit

Permalink
测试travis.修改测试
Browse files Browse the repository at this point in the history
  • Loading branch information
liangliangyy committed Feb 24, 2017
1 parent d67206c commit 1fab508
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blog/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def test_validate_article(self):
user.email = "liangliangyy@gmail.com"
user.username = "liangliangyy"
user.password = "liangliangyy"
user.set_password("liangliangyy")
user.save()
response = self.client.get(user.get_absolute_url())
self.assertEqual(response.status_code, 200)
Expand Down

0 comments on commit 1fab508

Please sign in to comment.