Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Foster <[email protected]>
  • Loading branch information
fosterseth committed Jun 25, 2024
1 parent d11602a commit 6f081a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion ansible_base/rbac/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from django.db.utils import IntegrityError
from django.utils.functional import cached_property
from django.utils.translation import gettext_lazy as _
from django.core.exceptions import ValidationError as DjangoValidationError
from rest_framework import serializers
from rest_framework.exceptions import PermissionDenied
from rest_framework.fields import flatten_choices_dict, to_choices_dict
Expand Down
5 changes: 3 additions & 2 deletions test_app/tests/rbac/api/test_rbac_validation.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import pytest
from django.contrib.auth import get_user_model
from django.test.utils import override_settings
from django.urls import reverse
from django.contrib.auth import get_user_model

from ansible_base.rbac.models import RoleDefinition
from ansible_base.lib.utils.auth import get_team_model
from ansible_base.rbac.models import RoleDefinition

Team = get_team_model()
User = get_user_model()


@pytest.mark.django_db
class TestSharedAssignmentsDisabled:
@override_settings(ALLOW_LOCAL_RESOURCE_MANAGEMENT=False)
Expand Down

0 comments on commit 6f081a0

Please sign in to comment.