aboutsummaryrefslogtreecommitdiffstats
path: root/tests/packager/test_manifest.py
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2019-11-01 16:01:34 +0800
committerLianhao Lu <lianhao.lu@intel.com>2019-11-01 16:01:34 +0800
commit1ee29e00b88d8a4dde7a02575ad416f1615d1c7c (patch)
treeb8078e23117bdbc10806c429fac4fd03851908c9 /tests/packager/test_manifest.py
parent64b7b4ee24284dd68cd0f41e126def62c87cf3d1 (diff)
Added python3 support
Change-Id: I7a09d11cc6506e91327d96e06a9d1001c9567380 Issue-ID: VNFSDK-419 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'tests/packager/test_manifest.py')
-rw-r--r--tests/packager/test_manifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/packager/test_manifest.py b/tests/packager/test_manifest.py
index 2383284..003e23e 100644
--- a/tests/packager/test_manifest.py
+++ b/tests/packager/test_manifest.py
@@ -126,7 +126,7 @@ def test_update_to_file(tmpdir):
m2 = manifest.Manifest(mf.dirname, 'test.mf')
assert m1.metadata['vnf_provider_id'] == m2.metadata['vnf_provider_id']
assert m1.digests['digest'] == m2.digests['digest2']
- assert len(m2.digests.keys()) == 2
+ assert len(list(m2.digests.keys())) == 2
assert m2.signature == CMS
def test_signature(tmpdir):