Fix isort test
Was broken by isort>=5
This commit is contained in:
parent
53c1648738
commit
1edfb16143
@ -57,8 +57,8 @@ class TestBaseAuthRequests(BaseTest):
|
|||||||
``test_matrix`` "unicode"."""
|
``test_matrix`` "unicode"."""
|
||||||
if htpasswd_encryption == "bcrypt":
|
if htpasswd_encryption == "bcrypt":
|
||||||
try:
|
try:
|
||||||
from passlib.hash import bcrypt
|
|
||||||
from passlib.exc import MissingBackendError
|
from passlib.exc import MissingBackendError
|
||||||
|
from passlib.hash import bcrypt
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pytest.skip("passlib[bcrypt] is not installed")
|
pytest.skip("passlib[bcrypt] is not installed")
|
||||||
try:
|
try:
|
||||||
|
@ -9,7 +9,7 @@ addopts = --flake8 --isort --cov --cov-report=term --cov-report=xml -r s
|
|||||||
norecursedirs = dist .cache .git build Radicale.egg-info .eggs venv
|
norecursedirs = dist .cache .git build Radicale.egg-info .eggs venv
|
||||||
|
|
||||||
[tool:isort]
|
[tool:isort]
|
||||||
known_standard_library = posixpath
|
known_standard_library = _dummy_thread,_thread,abc,aifc,argparse,array,ast,asynchat,asyncio,asyncore,atexit,audioop,base64,bdb,binascii,binhex,bisect,builtins,bz2,cProfile,calendar,cgi,cgitb,chunk,cmath,cmd,code,codecs,codeop,collections,colorsys,compileall,concurrent,configparser,contextlib,contextvars,copy,copyreg,crypt,csv,ctypes,curses,dataclasses,datetime,dbm,decimal,difflib,dis,distutils,doctest,dummy_threading,email,encodings,ensurepip,enum,errno,faulthandler,fcntl,filecmp,fileinput,fnmatch,formatter,fpectl,fractions,ftplib,functools,gc,getopt,getpass,gettext,glob,grp,gzip,hashlib,heapq,hmac,html,http,imaplib,imghdr,imp,importlib,inspect,io,ipaddress,itertools,json,keyword,lib2to3,linecache,locale,logging,lzma,macpath,mailbox,mailcap,marshal,math,mimetypes,mmap,modulefinder,msilib,msvcrt,multiprocessing,netrc,nis,nntplib,ntpath,numbers,operator,optparse,os,ossaudiodev,parser,pathlib,pdb,pickle,pickletools,pipes,pkgutil,platform,plistlib,poplib,posix,posixpath,pprint,profile,pstats,pty,pwd,py_compile,pyclbr,pydoc,queue,quopri,random,re,readline,reprlib,resource,rlcompleter,runpy,sched,secrets,select,selectors,shelve,shlex,shutil,signal,site,smtpd,smtplib,sndhdr,socket,socketserver,spwd,sqlite3,sre,sre_compile,sre_constants,sre_parse,ssl,stat,statistics,string,stringprep,struct,subprocess,sunau,symbol,symtable,sys,sysconfig,syslog,tabnanny,tarfile,telnetlib,tempfile,termios,test,textwrap,threading,time,timeit,tkinter,token,tokenize,trace,traceback,tracemalloc,tty,turtle,turtledemo,types,typing,unicodedata,unittest,urllib,uu,uuid,venv,warnings,wave,weakref,webbrowser,winreg,winsound,wsgiref,xdrlib,xml,xmlrpc,zipapp,zipfile,zipimport,zlib
|
||||||
known_third_party = defusedxml,passlib,pkg_resources,pytest,vobject
|
known_third_party = defusedxml,passlib,pkg_resources,pytest,vobject
|
||||||
|
|
||||||
[coverage:run]
|
[coverage:run]
|
||||||
|
Loading…
Reference in New Issue
Block a user