1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-31 19:50:55 +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

@ -23,8 +23,7 @@ import shutil
import tempfile
from radicale import Application, config
from .test_base import BaseTest
from radicale.tests.test_base import BaseTest
class TestBaseWebRequests(BaseTest):
@ -62,7 +61,7 @@ class TestBaseWebRequests(BaseTest):
def test_custom(self):
"""Custom web plugin."""
self.configuration.update({
"web": {"type": "tests.custom.web"}}, "test")
"web": {"type": "radicale.tests.custom.web"}}, "test")
self.application = Application(self.configuration)
status, _, answer = self.request("GET", "/.web")
assert status == 200