diff --git a/.gitignore b/.gitignore index d649848..32b86d4 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ sword2.egg-info/ *.py~ *.conf +.tox .coverage htmlcov/ diff --git a/setup.py b/setup.py index b43fb33..eae82d4 100644 --- a/setup.py +++ b/setup.py @@ -17,11 +17,17 @@ "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", - "License :: OSI Approved :: Apache Software License", - "Natural Language :: English", + "License :: OSI Approved :: Apache Software License", + "Natural Language :: English", "Operating System :: OS Independent", - "Programming Language :: Python :: 2 :: Only", - "Topic :: Communications", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Topic :: Communications", "Topic :: Internet", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", diff --git a/tests/databank/test_databank.py b/tests/databank/test_databank.py index 5b75a41..54d7c2f 100644 --- a/tests/databank/test_databank.py +++ b/tests/databank/test_databank.py @@ -1,7 +1,7 @@ import uuid from . import TestController from sword2 import Connection, Entry, Error_Document, Atom_Sword_Statement, Ore_Sword_Statement -from sword2.compatible_libs import etree +from lxml import etree PACKAGE = "tests/databank/example.zip" PACKAGE_MIME = "application/zip" diff --git a/tests/functional/test_connection.py b/tests/functional/test_connection.py index 72f82bd..bb6263d 100644 --- a/tests/functional/test_connection.py +++ b/tests/functional/test_connection.py @@ -1,7 +1,8 @@ +import json + from . import TestController from sword2 import Connection -from sword2.compatible_libs import json long_service_doc = '''