Skip to content

Commit

Permalink
テストの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
KobashiYu committed Jun 27, 2024
1 parent 8c2c7de commit d86107e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tweets/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def setUp(self):
def test_success_get(self):
response = self.client.get(self.url)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.context["tweet"], self.tweet)
self.assertEqual(Tweet.objects.get(content=self.tweet.content), response.context["tweet"])


class TestTweetDeleteView(TestCase):
Expand Down

0 comments on commit d86107e

Please sign in to comment.