Fix black and cover errors
Change-Id: Ic6b5d4babf5d7da3f1e78b0ed1abd5110bc9a904
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/osm_pla/test/test_nsPlacementDataFactory.py b/osm_pla/test/test_nsPlacementDataFactory.py
index dbb8572..b7075c3 100644
--- a/osm_pla/test/test_nsPlacementDataFactory.py
+++ b/osm_pla/test/test_nsPlacementDataFactory.py
@@ -319,7 +319,8 @@
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:
@@ -747,7 +748,6 @@
)
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},