Skip to content

Commit

Permalink
⚡ Update(tests): returned context in test_email_handler
Browse files Browse the repository at this point in the history
  • Loading branch information
FATEMEH-Z-HASHEMI committed Sep 17, 2024
1 parent 55f1ded commit 6e3e8cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django_logging/tests/handlers/test_email_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def test_render_template(
mock_template.render.assert_called_once_with(
{
"message": "Test message",
"date": ANY, # The actual date is not critical to the test
"time": ANY, # The actual time is not critical to the test
"browser_type": "Mozilla/5.0",
"ip_address": "127.0.0.1",
Expand Down

0 comments on commit 6e3e8cf

Please sign in to comment.