diff options
author | Alberto Contreras <alberto.contreras@canonical.com> | 2022-09-19 15:30:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 08:30:54 -0500 |
commit | 9aa4ec6982541f5425c860010fa87134e58469e6 (patch) | |
tree | 40d0f3b04053a47f4f546fa8311eecfbacff2b2f /tox.ini | |
parent | 4b12fe22d0e6adf92797fec929f58c54a7d3a620 (diff) | |
download | cloud-init-git-9aa4ec6982541f5425c860010fa87134e58469e6.tar.gz |
tests: Drop httpretty in favor of responses (#1720)
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 23 |
1 files changed, 2 insertions, 21 deletions
@@ -165,17 +165,14 @@ commands = {envpython} -X tracemalloc=40 -Wall -m pytest \ tests/unittests} -[lowest-supported-deps] +[testenv:lowest-supported] # Tox is going to install requirements from pip. This is fine for # testing python version compatibility, but when we build cloud-init, we are # building against the dependencies in the OS repo, not pip. The OS # dependencies will generally be older than what is found in pip. # To obtain these versions, check the versions of these libraries -# in the oldest support Ubuntu distro. - -# httpretty isn't included here because python2.7 requires a higher version -# than whats run on bionic, so we need two different definitions. +# in the oldest support Ubuntu distro. Theses versions are from bionic. deps = jinja2==2.10 oauthlib==2.0.6 @@ -193,22 +190,6 @@ deps = # Needed by pytest and default causes failures attrs==17.4.0 responses==0.5.1 - -[testenv:lowest-supported] -# This definition will run on bionic with the version of httpretty -# that runs there -deps = - {[lowest-supported-deps]deps} - httpretty==0.8.14 -commands = {[testenv:py3]commands} - -[testenv:lowest-supported-dev] -# The oldest httpretty version to work with Python 3.7+ is 0.9.5, -# because it is the first to include this commit: -# https://github.com/gabrielfalcao/HTTPretty/commit/5776d97da3992b9071db5e21faf175f6e8729060 -deps = - {[lowest-supported-deps]deps} - httpretty==0.9.5 commands = {[testenv:py3]commands} [testenv:doc] |