Merge lp:~cjwatson/loggerhead/fix-tox into lp:loggerhead

Proposed by Colin Watson
Status: Merged
Approved by: Colin Watson
Approved revision: 541
Merge reported by: Otto Co-Pilot
Merged at revision: 540
Proposed branch: lp:~cjwatson/loggerhead/fix-tox
Merge into: lp:loggerhead
Diff against target: 43 lines (+6/-1)
3 files modified
loggerhead/tests/test_controllers.py (+2/-0)
requirements.txt (+1/-0)
tox.ini (+3/-1)
To merge this branch: bzr merge lp:~cjwatson/loggerhead/fix-tox
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+430053@code.launchpad.net

Commit message

Fix running tests in tox.

To post a comment you must log in.
Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve
Revision history for this message
Otto Co-Pilot (otto-copilot) wrote :
lp:~cjwatson/loggerhead/fix-tox updated
541. By Colin Watson

Pin patiencediff < 0.2.3 on Python 3.5.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'loggerhead/tests/test_controllers.py'
--- loggerhead/tests/test_controllers.py 2022-08-31 14:04:38 +0000
+++ loggerhead/tests/test_controllers.py 2022-09-21 12:06:27 +0000
@@ -58,6 +58,7 @@
58 env = {58 env = {
59 'SCRIPT_NAME': '',59 'SCRIPT_NAME': '',
60 'PATH_INFO': '/files',60 'PATH_INFO': '/files',
61 'REQUEST_METHOD': 'GET',
61 'wsgi.url_scheme': 'http',62 'wsgi.url_scheme': 'http',
62 'SERVER_NAME': 'localhost',63 'SERVER_NAME': 'localhost',
63 'SERVER_PORT': '80',64 'SERVER_PORT': '80',
@@ -71,6 +72,7 @@
71 env = {72 env = {
72 'SCRIPT_NAME': '',73 'SCRIPT_NAME': '',
73 'PATH_INFO': '/files',74 'PATH_INFO': '/files',
75 'REQUEST_METHOD': 'GET',
74 'wsgi.url_scheme': 'http',76 'wsgi.url_scheme': 'http',
75 'SERVER_NAME': 'localhost',77 'SERVER_NAME': 'localhost',
76 'SERVER_PORT': '80',78 'SERVER_PORT': '80',
7779
=== modified file 'requirements.txt'
--- requirements.txt 2022-08-08 16:33:50 +0000
+++ requirements.txt 2022-09-21 12:06:27 +0000
@@ -12,3 +12,4 @@
12Pygments; python_version > "3.5"12Pygments; python_version > "3.5"
13certifi < 2022.5.18; python_version <= "3.5"13certifi < 2022.5.18; python_version <= "3.5"
14fixtures < 4.0.0; python_version <= "3.5"14fixtures < 4.0.0; python_version <= "3.5"
15patiencediff < 0.2.3; python_version <= "3.5"
1516
=== modified file 'tox.ini'
--- tox.ini 2021-12-17 21:39:45 +0000
+++ tox.ini 2022-09-21 12:06:27 +0000
@@ -3,7 +3,9 @@
3skipsdist=True3skipsdist=True
44
5[testenv]5[testenv]
6deps = -rrequirements.txt6deps =
7 -rrequirements.txt
8 .
7commands = brz selftest -v breezy.plugins.loggerhead --strict9commands = brz selftest -v breezy.plugins.loggerhead --strict
8setenv =10setenv =
9 py35: VIRTUALENV_DOWNLOAD = 011 py35: VIRTUALENV_DOWNLOAD = 0

Subscribers

People subscribed via source and target branches