summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/ONAPLibrary
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-01 11:26:06 -0400
committerDR695H <dr695h@att.com>2019-07-01 11:31:54 -0400
commit96707b207ca00d80e622a0351b4566ebc87ace61 (patch)
tree0d44e2533d5d197c77c8ed0646ccdbccdd21cb31 /robotframework-onap/ONAPLibrary
parent98ded3d2097b094c70cecf27566f21a6c9b2d70b (diff)
removing unused code and moving so params
Issue-ID: TEST-171 Change-Id: Id93c60923a2830c4054108f898057d7258b9b4c2 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/ONAPLibrary')
-rw-r--r--robotframework-onap/ONAPLibrary/TemplatingKeywords.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/robotframework-onap/ONAPLibrary/TemplatingKeywords.py b/robotframework-onap/ONAPLibrary/TemplatingKeywords.py
index 0e2a597..62d2b55 100644
--- a/robotframework-onap/ONAPLibrary/TemplatingKeywords.py
+++ b/robotframework-onap/ONAPLibrary/TemplatingKeywords.py
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from jinja2 import Environment, FileSystemLoader, select_autoescape
+from jinja2 import Environment, FileSystemLoader
from robot import utils
from robot.api.deco import keyword
from string import Template
@@ -30,8 +30,7 @@ class TemplatingKeywords(object):
def create_environment(self, alias, templates_folder):
"""create an environment under an alias for tempalte location"""
jinja_env = Environment(
- loader=FileSystemLoader(templates_folder),
- autoescape=select_autoescape(['html', 'xml'])
+ loader=FileSystemLoader(templates_folder)
)
self._cache.register(jinja_env, alias=alias)