Skip to content

Commit 8fde23c

Browse files
Use the latest instalement of functional tests classes
1 parent 1239bbd commit 8fde23c

File tree

76 files changed

+43
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+43
-78
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
hooks:
1616
- id: ruff-check
1717
args: ["--fix"]
18-
exclude: &functional "tests/input/"
18+
exclude: &functional "tests/functional/"
1919
- id: ruff-format
2020
exclude: *functional
2121
args: [--line-length=120]

pylint_django/tests/input/func_noerror_duplicate_except_doesnotexist.py renamed to pylint_django/tests/functional/duplicate/duplicate_except_doesnotexist.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
except blocks catching DoesNotExist exceptions:
44
https://github.com/pylint-dev/pylint-django/issues/81
55
"""
6+
67
# pylint: disable=missing-docstring
78
from django.db import models
89

pylint_django/tests/input/external_factory_boy_noerror.py renamed to pylint_django/tests/functional/external/external_factory_boy_noerror.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Test to validate that pylint_django doesn't produce
33
Instance of 'SubFactory' has no 'pk' member (no-member) warnings
44
"""
5+
56
# pylint: disable=attribute-defined-outside-init, missing-docstring, too-few-public-methods
67
import factory
78
from django import test
@@ -36,7 +37,7 @@ class Meta:
3637
class BookTestCase(test.LiveServerTestCase):
3738
serialized_rollback = True
3839

39-
def _fixture_setup(self): # pylint: disable=arguments-differ
40+
def _fixture_setup(self): # pylint: disable=arguments-differ
4041
super()._fixture_setup()
4142
self.book = BookFactory()
4243
_author = AuthorFactory()

0 commit comments

Comments
 (0)