From 8087e8d6109ee7856dc0310a4104b6b6178addbd Mon Sep 17 00:00:00 2001 From: Stanislaw Pitucha Date: Wed, 23 Jan 2013 13:11:41 +0000 Subject: [PATCH] Add version constraint for coverage Python coverage lower than 3.6 causes issues when running the whole test suite. Some arguments are randomly mixed up with script names, resulting in unittest failures like this: UnexpectedMethodCallError: Unexpected method call. unexpected:- expected:+ - exists.__call__('/tmp/buildd/.../nova/virt/images.py') -> None + exists.__call__('/some/path') -> True Change-Id: Iadb6d046e3acc75c6ed5abffcfc1abda82aeee4f --- tools/test-requires | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-requires b/tools/test-requires index bc279166e7fb..e6c32eaea503 100644 --- a/tools/test-requires +++ b/tools/test-requires @@ -1,7 +1,7 @@ # Packages needed for dev testing distribute>=0.6.24 -coverage +coverage>=3.6 discover feedparser fixtures>=0.3.12