Skip to content
Snippets Groups Projects
Commit 5ab97c75 authored by Renaud Boyer's avatar Renaud Boyer
Browse files

tests: test_message is not a test method

parent f5f5a1e7
No related branches found
No related tags found
1 merge request!1318tests: Reduce the number of warnings raised
......@@ -46,7 +46,7 @@ def inbound_message(request) -> bytes:
return marker.args[0]
def test_message() -> bytes:
def _test_message() -> bytes:
message = EmailMessage()
message["to"] = "test@example.com"
message["subject"] = "Test Subject"
......@@ -55,7 +55,7 @@ def test_message() -> bytes:
return bytes(message)
TEST_MESSAGE = test_message()
TEST_MESSAGE = _test_message()
@pytest.mark.inbound_message(TEST_MESSAGE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment