1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-23 17:48:30 +00:00

Tests: Use absolute imports

This commit is contained in:
Unrud 2020-01-15 18:44:00 +01:00
parent 428e4be0b8
commit ed72e697de
7 changed files with 13 additions and 21 deletions

View file

@ -29,8 +29,7 @@ import tempfile
import pytest
from radicale import Application, config
from .test_base import BaseTest
from radicale.tests.test_base import BaseTest
class TestBaseAuthRequests(BaseTest):
@ -162,7 +161,7 @@ class TestBaseAuthRequests(BaseTest):
def test_custom(self):
"""Custom authentication."""
self.configuration.update(
{"auth": {"type": "tests.custom.auth"}}, "test")
{"auth": {"type": "radicale.tests.custom.auth"}}, "test")
self.application = Application(self.configuration)
status, _, answer = self.request(
"PROPFIND", "/tmp", HTTP_AUTHORIZATION="Basic %s" %