X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dcaegen2%2Fplatform.git;a=blobdiff_plain;f=adapter%2Facumos%2Ftests%2Ftest_fed.py;fp=adapter%2Facumos%2Ftests%2Ftest_fed.py;h=f56e297075ee7f8c7de07036043151a18baae19a;hp=c5400a3cefc7b69dd23fd58b6403de5d0c1779bc;hb=4a02e289d08e2a9d6203b6e72e2a7c8bd3228070;hpb=fdbd89ed0c57f370f6ba3e6390f4b523c965fb9c diff --git a/adapter/acumos/tests/test_fed.py b/adapter/acumos/tests/test_fed.py index c5400a3..f56e297 100644 --- a/adapter/acumos/tests/test_fed.py +++ b/adapter/acumos/tests/test_fed.py @@ -3,6 +3,8 @@ # ============================================================================= # Copyright (c) 2019-2020 AT&T Intellectual Property. All rights reserved. # ============================================================================= +# Copyright (c) 2021 highstreet technologies GmbH. All rights reserved. +# ============================================================================= # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -165,7 +167,7 @@ _mockwebdata = { def test_aoconversion(mock_schemas, tmpdir, monkeypatch): - config = aoc_scanner.Config(dcaeurl='http://dcaeurl', dcaeuser='dcaeuser', onboardingurl='https://onboarding', onboardinguser='obuser', onboardingpass='obpass', acumosurl='https://acumos', certfile=None, dockerregistry='dockerregistry', dockeruser='registryuser', dockerpass='registrypassword') + config = aoc_scanner.Config(dcaeurl='http://dcaeurl', dcaeuser='dcaeuser', onboardingurl='https://onboarding', onboardinguser='obuser', onboardingpass='obpass', acumosurl='https://acumos', certfile=None, dockerregistry='dockerregistry', dockeruser='registryuser', dockerpass='registrypassword', http_proxy='', https_proxy='', no_proxy='') monkeypatch.setattr(aoc_docker_gen, 'APIClient', _mockdocker.APIClient) monkeypatch.setattr(requests, 'get', _mockwww(_mockwebdata)) monkeypatch.setattr(requests, 'post', _mockwww(_mockpostdata))