Browse Source

Fixed imports.

hotfix/merge
Marcos Pereira 7 years ago
parent
commit
88c0b95f5e
  1. 6
      keycloak/authorization/__init__.py
  2. 2
      keycloak/authorization/policy.py
  3. 2
      keycloak/tests/test_connection.py

6
keycloak/authorization/__init__.py

@ -18,9 +18,9 @@
import ast import ast
import json import json
from keycloak.authorization.permission import Permission
from keycloak.authorization.policy import Policy
from keycloak.authorization.role import Role
from .permission import Permission
from .policy import Policy
from .role import Role
class Authorization: class Authorization:

2
keycloak/authorization/policy.py

@ -15,7 +15,7 @@
# You should have received a copy of the GNU Lesser General Public License # You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
from keycloak.exceptions import KeycloakAuthorizationConfigError
from ..exceptions import KeycloakAuthorizationConfigError
class Policy: class Policy:

2
keycloak/tests/test_connection.py

@ -17,7 +17,7 @@
from httmock import urlmatch, response, HTTMock, all_requests from httmock import urlmatch, response, HTTMock, all_requests
from keycloak.connection import ConnectionManager
from ..connection import ConnectionManager
try: try:

Loading…
Cancel
Save