summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-04-07 19:01:08 +0200
committerlouiz’ <louiz@louiz.org>2017-04-07 19:01:08 +0200
commitb82a14f20effad351cd2b1f344d526202ef11caf (patch)
treed2750ba834dbd19fe675efbb7312a17a977da72f
parentccb4ee098f0416ab47a46650705dba6495e8bec7 (diff)
downloadbiboumi-b82a14f20effad351cd2b1f344d526202ef11caf.tar.gz
biboumi-b82a14f20effad351cd2b1f344d526202ef11caf.tar.bz2
biboumi-b82a14f20effad351cd2b1f344d526202ef11caf.tar.xz
biboumi-b82a14f20effad351cd2b1f344d526202ef11caf.zip
Fix the display of the number of checks to be run by the e2e tests
-rw-r--r--tests/end_to_end/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py
index 2f3a98b..2d33b92 100644
--- a/tests/end_to_end/__main__.py
+++ b/tests/end_to_end/__main__.py
@@ -2359,7 +2359,8 @@ if __name__ == '__main__':
if b"now running in foreground mode" in res:
break
print("irc server started.")
- print("Running %s checks for biboumi." % (len([s for s in scenarios if s.name in scenar_list])))
+ checks = len([s for s in scenarios if s.name in scenar_list]) if scenar_list else len(scenarios)
+ print("Running %s checks for biboumi." % checks)
for s in scenarios:
if scenar_list and s.name not in scenar_list: