X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=tests%2Fconftest.py;h=d12783a2213fc9cd1d716e0d07d9209e2d9575c1;hb=77f7c38a2133e3ca11582a217762802d1a14c8fa;hp=fdfe662fe10fbbd42a1524c5dd86544204bb457d;hpb=588acf17f5f14399b2bad62bda8106fef7dac063;p=ric-app%2Fad.git diff --git a/tests/conftest.py b/tests/conftest.py index fdfe662..d12783a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -14,9 +14,17 @@ # limitations under the License. # ================================================================================== import pytest +import pandas as pd @pytest.fixture def ad_to_ts(): - ad_to_ts_val = '[{"UEID": 12371, "MeasTimestampRF": "2020-11-25 16:14:25.140140"}]' + ad_to_ts_val = '[{"du-id": 1006, "ue-id": "Car-1", "measTimeStampRf": 1620832626630, "Degradation": "RSRP"}]' return ad_to_ts_val + + +@pytest.fixture +def ad_ue(): + ad_ue_val = pd.DataFrame([[1002, "c2/B13", 8, 69, 65, 113, 0.1, 0.1, "Waiting passenger 9", -882, -959, pd.to_datetime("2021-05-12T07:43:51.652")]], columns=["du-id", "ServingCellId", "RRU.PrbUsedDl", "RF.serving.RSRP", "RF.serving.RSRQ", "RF.serving.RSSINR", "TargetTput", "DRB.UEThpDl", "ue-id", "x", "y", "measTimeStampRf"]) + + return ad_ue_val