blob: 9fb7ac3d0c80a711d9e34db99c4f5c979a62e681 [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():
28 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", "prb_usage", "rsrp", "rsrq", "rssinr", "TargetTput", "throughput", "ue-id", "x", "y", "measTimeStampRf"])
29
30 return ad_ue_val