mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Create configuration for isort
This commit is contained in:
parent
7527998135
commit
14b46c04bf
16 changed files with 23 additions and 31 deletions
|
@ -25,8 +25,9 @@ import os
|
|||
import sys
|
||||
from io import BytesIO
|
||||
|
||||
import radicale
|
||||
from pytest_cov import embed
|
||||
|
||||
import radicale
|
||||
from radicale import server
|
||||
|
||||
# Measure coverage of forked processes
|
||||
|
|
|
@ -26,12 +26,12 @@ import os
|
|||
import shutil
|
||||
import tempfile
|
||||
|
||||
import pytest
|
||||
|
||||
from radicale import Application, config
|
||||
|
||||
from .test_base import BaseTest
|
||||
|
||||
import pytest # isort:skip
|
||||
|
||||
|
||||
class TestBaseAuthRequests(BaseTest):
|
||||
"""Tests basic requests with auth.
|
||||
|
|
|
@ -22,21 +22,20 @@ Radicale tests with simple requests.
|
|||
|
||||
import base64
|
||||
import os
|
||||
import posixpath
|
||||
import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
import xml.etree.ElementTree as ET
|
||||
from functools import partial
|
||||
|
||||
import pytest
|
||||
|
||||
from radicale import Application, config, storage
|
||||
|
||||
from . import BaseTest
|
||||
from .helpers import get_file_content
|
||||
|
||||
import posixpath # isort:skip
|
||||
|
||||
import pytest # isort:skip
|
||||
|
||||
|
||||
class BaseRequestsMixIn:
|
||||
"""Tests with simple requests."""
|
||||
|
|
|
@ -32,12 +32,12 @@ from configparser import ConfigParser
|
|||
from urllib import request
|
||||
from urllib.error import HTTPError, URLError
|
||||
|
||||
import pytest
|
||||
|
||||
from radicale import config, server
|
||||
|
||||
from .helpers import get_file_path
|
||||
|
||||
import pytest # isort:skip
|
||||
|
||||
try:
|
||||
import gunicorn
|
||||
except ImportError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue