DR695H | c9392aa | 2019-05-24 16:23:44 -0400 | [diff] [blame] | 1 | # 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 | |
| 15 | from ONAPLibrary.robotlibcore import HybridCore |
| 16 | from ONAPLibrary.DNSKeywords import DNSKeywords |
DR695H | 294f996 | 2019-06-13 14:40:27 -0400 | [diff] [blame] | 17 | from ONAPLibrary.SocketKeywords import SocketKeywords |
| 18 | from ONAPLibrary.UUIDKeywords import UUIDKeywords |
DR695H | 88f5696 | 2019-06-17 13:31:29 -0400 | [diff] [blame] | 19 | from ONAPLibrary.HTTPKeywords import HTTPKeywords |
DR695H | 205db3c | 2019-07-01 13:58:49 -0400 | [diff] [blame] | 20 | from ONAPLibrary.Base64Keywords import Base64Keywords |
DR695H | c9392aa | 2019-05-24 16:23:44 -0400 | [diff] [blame] | 21 | |
| 22 | |
DR695H | 294f996 | 2019-06-13 14:40:27 -0400 | [diff] [blame] | 23 | class Utilities(HybridCore): |
DR695H | 205db3c | 2019-07-01 13:58:49 -0400 | [diff] [blame] | 24 | """ Keywords are useful for helper functions requests """ |
DR695H | c9392aa | 2019-05-24 16:23:44 -0400 | [diff] [blame] | 25 | |
| 26 | def __init__(self): |
| 27 | self.keyword_implementors = [ |
DR695H | 294f996 | 2019-06-13 14:40:27 -0400 | [diff] [blame] | 28 | DNSKeywords(), |
| 29 | SocketKeywords(), |
DR695H | 88f5696 | 2019-06-17 13:31:29 -0400 | [diff] [blame] | 30 | UUIDKeywords(), |
DR695H | 205db3c | 2019-07-01 13:58:49 -0400 | [diff] [blame] | 31 | HTTPKeywords(), |
| 32 | Base64Keywords() |
DR695H | c9392aa | 2019-05-24 16:23:44 -0400 | [diff] [blame] | 33 | ] |
| 34 | HybridCore.__init__(self, self.keyword_implementors) |