def _adjust_path(self, file):
"""In case we are not running from test directory,
- then assume we are in top level directory (e.g. running from tox) and adjust file path accordingly"""
+ then assume we are in top level directory (e.g. running from tox) and adjust file path accordingly
+ """
path_component = "/osm_pla/test/"
real_path = os.path.realpath(file)
if path_component not in real_path:
)
def test__produce_vld_desc_w_instantiate_override(self):
-
vld_desc_expected = [
{"cp_refs": ["one", "two"], "latency": 150, "jitter": 30},
{"cp_refs": ["two", "three"], "latency": 90, "jitter": 30},