X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=tests%2Ftest_data.py;h=bf178ff17389d2a04904a00759cb88019589ec75;hb=ccb4a69e473cab6db7e8d52a04f9b4922528e24f;hp=45c2eac88cc3eadf1fa4deeaeff842eae624a045;hpb=7cec82d95d4b9d18c42b103eb14d39f94fcd0776;p=ric-plt%2Fa1.git diff --git a/tests/test_data.py b/tests/test_data.py index 45c2eac..bf178ff 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -1,6 +1,6 @@ # ================================================================================== -# Copyright (c) 2019 Nokia -# Copyright (c) 2018-2019 AT&T Intellectual Property. +# Copyright (c) 2019-2020 Nokia +# Copyright (c) 2018-2020 AT&T Intellectual Property. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -15,13 +15,18 @@ # limitations under the License. # ================================================================================== from a1 import data +from .a1test_helpers import MockSDLWrapper + + +def setup_module(): + """module level setup""" + data.SDL = MockSDLWrapper() # patch SDL def test_sdl_raw(): """ test raw sdl functions """ - data.SDL = data.SDLWrapper() data.SDL.set("as.df1", "data") data.SDL.set("as.df2", "data2") assert data.SDL.get("as.df1") == "data"