Commit f7bfa146 authored by Julien Muchembled's avatar Julien Muchembled

tests: fix failure after Git upgrade from 2.33.1 to 2.35.1

parent 3833123f
Pipeline #20111 passed with stage
in 0 seconds
...@@ -566,8 +566,8 @@ repository = %s ...@@ -566,8 +566,8 @@ repository = %s
with self.assertRaises(CalledProcessError) as output: with self.assertRaises(CalledProcessError) as output:
check_output([buildout], stderr=STDOUT) check_output([buildout], stderr=STDOUT)
self.assertIn( self.assertIn(
b"error: Could not fetch broken", b"error: could not fetch broken",
output.exception.output) output.exception.output.lower()) # old Git prints a C
# this reset repo # this reset repo
self.assertFalse(os.path.exists(os.path.join(sample_buildout, "parts", "git-clone"))) self.assertFalse(os.path.exists(os.path.join(sample_buildout, "parts", "git-clone")))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment