-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
include CHANGELOG.md | ||
include INSTALL | ||
include LICENSE | ||
include README.md | ||
include runtests.sh | ||
recursive-include tests * | ||
global-exclude *.py[cod] __pycache__ | ||
global-exclude .coverage | ||
global-exclude .DS_Store | ||
exclude .pre-commit-config.yaml | ||
recursive-include rules *.typed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
|
||
# NOTE: Make sure you `pip install -e .` first | ||
coverage run tests/manage.py test --failfast -v2 testapp "$@" \ | ||
&& echo \ | ||
&& coverage report -m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# SPDX-FileCopyrightText: 2024-present Luis Saavedra <[email protected]> | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
from typing import List | ||
|
||
from django.core.exceptions import ImproperlyConfigured | ||
from django.urls import URLPattern | ||
from rest_framework.decorators import action | ||
|
@@ -16,7 +18,7 @@ | |
|
||
|
||
class AutoPermissionRequiredMixinTests(APITestCase, URLPatternsTestCase): | ||
urlpatterns: list[URLPattern] = [] | ||
urlpatterns: List[URLPattern] = [] | ||
|
||
@classmethod | ||
def setUpClass(cls): | ||
|