Skip to content

Commit

Permalink
test: update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
wzyboy committed Aug 9, 2023
1 parent 54c1c26 commit 0d38a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_views.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class TestIndexView:
def test_index(self, client):
resp = client.get('/tweet/')
assert '<p>Number of Tweets: <code>2</code>' in resp.text
assert '<p>Number of Tweets: <code>3</code>' in resp.text
assert 'wzyboy' in resp.text
assert 'Uucky_Lee' in resp.text

Expand Down

0 comments on commit 0d38a59

Please sign in to comment.