From c87a2f52af3d38fbf734c64cd24f97455c2aec96 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Fri, 14 Jul 2017 15:41:44 +0800 Subject: [PATCH] bugfix: make compatible with None field in testcase --- ate/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ate/context.py b/ate/context.py index f234ffad..ed59e790 100644 --- a/ate/context.py +++ b/ate/context.py @@ -165,7 +165,7 @@ class Context(object): return data # data is in string format here - data = data.strip() + data = "" if data is None else data.strip() if utils.is_variable(data): # variable marker: $var variable_name = utils.parse_variable(data)