Skip to content

Commit

Permalink
pylint disable
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Dec 14, 2023
1 parent 617d62b commit dbc3df6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions codeforlife/user/tests/views/test_klass.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def _login_student(self):
password="Password1",
)

# pylint: disable-next=pointless-string-statement
"""
Retrieve naming convention:
test_retrieve__{user_type}__{same_school}__{in_class}
Expand Down
3 changes: 3 additions & 0 deletions codeforlife/user/tests/views/test_school.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def _login_indy_student(self):
password="Password1",
)

# pylint: disable-next=pointless-string-statement
"""
Retrieve naming convention:
test_retrieve__{user_type}__{same_school}
Expand Down Expand Up @@ -137,6 +138,7 @@ def test_retrieve__student__not_same_school(self):
status_code_assertion=status.HTTP_404_NOT_FOUND,
)

# pylint: disable-next=pointless-string-statement
"""
List naming convention:
test_list__{user_type}
Expand Down Expand Up @@ -189,6 +191,7 @@ def test_list__student(self):

self._list_schools([user.student.class_field.teacher.school])

# pylint: disable-next=pointless-string-statement
"""
General tests that apply to all actions.
"""
Expand Down
3 changes: 3 additions & 0 deletions codeforlife/user/tests/views/test_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def _login_indy_student(self):
password="Password1",
)

# pylint: disable-next=pointless-string-statement
"""
Retrieve naming convention:
test_retrieve__{user_type}__{other_user_type}__{same_school}__{same_class}
Expand Down Expand Up @@ -436,6 +437,7 @@ def test_retrieve__indy_student__student(self):
status_code_assertion=status.HTTP_404_NOT_FOUND,
)

# pylint: disable-next=pointless-string-statement
"""
List naming convention:
test_list__{user_type}__{filters}
Expand Down Expand Up @@ -510,6 +512,7 @@ def test_list__indy_student(self):

self._list_users([user])

# pylint: disable-next=pointless-string-statement
"""
General tests that apply to all actions.
"""
Expand Down

0 comments on commit dbc3df6

Please sign in to comment.