Changed all BuiltIn().import_resource() calls to my_import_resource().
Change-Id: I68cac29a9e6d55c2588c94de1c387b32f63ac9b6
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/extended/run_keyword.py b/extended/run_keyword.py
index 38033c7..e9d2d57 100644
--- a/extended/run_keyword.py
+++ b/extended/run_keyword.py
@@ -6,6 +6,8 @@
import gen_robot_print as grp
import gen_robot_valid as grv
+import gen_robot_utils as gru
+
from robot.libraries.BuiltIn import BuiltIn
import re
@@ -54,8 +56,9 @@
grp.rdprint_issuing("import_library(\"" + lib_file_path + "\")")
BuiltIn().import_library(lib_file_path)
else:
- grp.rdprint_issuing("import_resource(\"" + lib_file_path + "\")")
- BuiltIn().import_resource(lib_file_path)
+ grp.rdprint_issuing("my_import_resource(\"" + lib_file_path +
+ "\")")
+ gru.my_import_resource(lib_file_path)
BuiltIn().set_global_variable("${quiet}", quiet)
# The user can pass multiple keyword strings by separating them with " ; ".