Skip to content

Commit

Permalink
Ignore linter warnings for invalid test passwords
Browse files Browse the repository at this point in the history
gzurowski committed Jan 28, 2025
1 parent d1f8c9d commit 8016319
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/user/tests/helpers.py
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ class TestData:
author_linkedin = "linkedin.com/in/regulusblack"

invalid_email = "testuser@gmail"
invalid_password = "pass"
invalid_password = "pass" # NOSONAR
valid_email = "[email protected]"
valid_password = generate_password()

4 changes: 3 additions & 1 deletion src/user/tests/tests.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import json

from django.test import Client, TestCase

from user.models import Author, University, User
@@ -11,7 +13,7 @@ class BaseTests(TestCase):
author_last_name = "Black"

invalid_email = "testuser@gmail"
invalid_password = "pass"
invalid_password = "pass" # NOSONAR
valid_email = "[email protected]"
valid_password = generate_password()

0 comments on commit 8016319

Please sign in to comment.