blob: d12783a2213fc9cd1d716e0d07d9209e2d9575c1 [file] [log] [blame]
deepanshuk588acf12021-01-06 16:10:44 +05301# ==================================================================================
2# Copyright (c) 2020 HCL Technologies Limited.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15# ==================================================================================
16import pytest
deepanshuk91624d72021-07-06 13:07:04 +053017import pandas as pd
deepanshuk588acf12021-01-06 16:10:44 +053018
19
20@pytest.fixture
21def ad_to_ts():
deepanshuk91624d72021-07-06 13:07:04 +053022 ad_to_ts_val = '[{"du-id": 1006, "ue-id": "Car-1", "measTimeStampRf": 1620832626630, "Degradation": "RSRP"}]'
deepanshuk588acf12021-01-06 16:10:44 +053023 return ad_to_ts_val
deepanshuk91624d72021-07-06 13:07:04 +053024
25
26@pytest.fixture
27def ad_ue():
Deepanshu Karnwal77f7c382022-12-10 16:23:18 +053028 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"])
deepanshuk91624d72021-07-06 13:07:04 +053029
30 return ad_ue_val