File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ async def test_send_new_message_direct_with_myself(
5050 self .assertEqual (data ["content" ]["is_edited" ], message ["is_edited" ])
5151 self .assertFalse (message ["is_deleted" ])
5252
53- async def test_send_new_message_to_orher_chat (self ): # Message in someone else's chat
53+ async def test_send_new_message_to_other_chat (self ): # Message in someone else's chat
5454 await sync_to_async (get_user_model ().objects .create )(** TEST_USER2 )
5555 user = await sync_to_async (get_user_model ().objects .create )(** TEST_USER3 )
5656 communicator = WebsocketCommunicator (ChatConsumer .as_asgi (), "/ws/chat/" )
@@ -347,7 +347,7 @@ async def test_edit_other_message(
347347 self .assertFalse (direct_message .is_edited )
348348 self .assertTrue (direct_message .text != text )
349349
350- async def test_edit_other_message_in_other_char (
350+ async def test_edit_other_message_in_other_chat (
351351 self ,
352352 ):
353353 await sync_to_async (get_user_model ().objects .create )(** TEST_USER2 )
Original file line number Diff line number Diff line change 22
33
44class Email :
5+ """
6+ Send email messages
7+ """
58 @staticmethod
69 def send_email (data ):
710 email = EmailMultiAlternatives (
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ def main():
1010 from django .core .management import execute_from_command_line
1111 except ImportError as exc :
1212 raise ImportError (
13- "Couэldn 't import Django. Are you sure it's installed and "
13+ "Couldn 't import Django. Are you sure it's installed and "
1414 "available on your PYTHONPATH environment variable? Did you "
1515 "forget to activate a virtual environment?"
1616 ) from exc
You can’t perform that action at this time.
0 commit comments