diff options
author | umry8364 <morgan.richomme@orange.com> | 2019-08-28 12:06:30 +0200 |
---|---|---|
committer | DR695H <dr695h@att.com> | 2019-08-28 15:44:21 -0400 |
commit | d4af56d4c2f67a1285da783764f20a0c1c546592 (patch) | |
tree | 59e9b8921fe341f36f58168b4365cef2185879a0 /robotframework-onap/ONAPLibrary/BaseAAIKeywords.py | |
parent | f2b75da8dd38077c60cc2c852f73092980c1f906 (diff) |
Add tox
it would create virtualenv to
- run tests in python2.7 and 3
- perform linting operations (flake8, pylint)
Issue-ID: INT-1228
Change-Id: I451e1108285f6ebffc650bf3de4f175594ec796d
Signed-off-by: umry8364 <morgan.richomme@orange.com>
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robotframework-onap/ONAPLibrary/BaseAAIKeywords.py')
-rw-r--r-- | robotframework-onap/ONAPLibrary/BaseAAIKeywords.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py b/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py index 0b312df..762a2ee 100644 --- a/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py +++ b/robotframework-onap/ONAPLibrary/BaseAAIKeywords.py @@ -80,7 +80,7 @@ class BaseAAIKeywords(object): def find_node(self, search_node_type, key, node_uuid, auth=None, client_certs=None): data_path = '/aai/v11/search/nodes-query?search-node-type={0}&filter={1}:EQUALS:{2}'.format( search_node_type, key, node_uuid) - resp = self.reqs.get_request("aai", self.aai_endpoint, data_path, accept="application/json", auth=auth, - client_certs=client_certs) + resp = self.reqs.get_request(alias="aai", endpoint=self.aai_endpoint, data_path=data_path, + accept="application/json", auth=auth, client_certs=client_certs) response = resp.json() return 'result-data' in response |