blob: 0ffd134e6185ea80cedde381f36f7c5dc407f98e [file] [log] [blame]
DR695H217b2cc2019-07-11 18:00:10 -04001# Copyright 2019 AT&T Intellectual Property. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
DR695Hf2b75da2019-08-28 10:52:51 -040015from robotlibcore import HybridCore
DR695H217b2cc2019-07-11 18:00:10 -040016from ONAPLibrary.PreloadDataKeywords import PreloadDataKeywords
17
18
19class PreloadData(HybridCore):
20 """PreloadData is an ONAP testing library for Robot Framework that enables the use of a preload_data.json
21 to dynamically add preload data to a robot test suite with out changing robot code"""
22
DR695H601ead62019-07-19 14:29:09 -040023 ROBOT_LIBRARY_SCOPE = "GLOBAL"
24
DR695H217b2cc2019-07-11 18:00:10 -040025 def __init__(self):
26 self.keyword_implementors = [
27 PreloadDataKeywords()
28 ]
29 HybridCore.__init__(self, self.keyword_implementors)