Create configuration for isort
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user