summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorJoris Roovers <jroovers@cisco.com>2016-12-02 00:41:07 +0100
committerJoris Roovers <jroovers@cisco.com>2016-12-02 00:41:07 +0100
commitd68fe1163203c0408ce72deec325c036ab773c69 (patch)
treed0cb1a5e2ce56b2b1aff385fc8a9586173723ead /qa
parent9f6001a186f4bebc6edc0273a6bc5974913f5203 (diff)
Dependency version bumps
Updated all dependencies to the latest version. This brings us to back to 2016 :-) The only dependency not getting an update is 'sh' because the 0.12.x release series seems to be very buggy (performance issues, regressions, etc). This commit does contain a guard for checking '_ok_code' during sh invocation as that was an issue with 1.12.x (submitted https://github.com/amoffat/sh/issues/343). Might as well patch it already if we ever do go to sh==1.12.x.
Diffstat (limited to 'qa')
-rw-r--r--qa/base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/base.py b/qa/base.py
index eac60e4..c4110fa 100644
--- a/qa/base.py
+++ b/qa/base.py
@@ -41,6 +41,9 @@ class BaseTestCase(TestCase):
touch(test_filename, _cwd=self.tmp_git_repo)
git("add", test_filename, _cwd=self.tmp_git_repo)
# https://amoffat.github.io/sh/#interactive-callbacks
+ if not ok_code:
+ ok_code = [0]
+
git("commit", "-m", message, _cwd=self.tmp_git_repo, _tty_in=True, _out=out, _ok_code=ok_code, _env=environment)
return test_filename