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:
parent
428e4be0b8
commit
ed72e697de
7 changed files with 13 additions and 21 deletions
|
@ -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" %
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue