From 01a60ff23b979eb676658713748598ba4892163a Mon Sep 17 00:00:00 2001 From: Miroslav Los Date: Tue, 26 Nov 2019 14:20:36 +0100 Subject: Support python3 in all plugins Unify tox/requirements/setup.py requirement specifications. Do not set upper version limits if possible. Drop uuid as dependency included with standard library. Drop import of unmaintained cloudify_importer without python3 version. Use PEP 508 URLs in requirements for non-PyPI (github) releases. Use cloudify-common 5 release; pre-release package for python3. Rewrite uses of map with loops/comprehensions. Signed-off-by: Miroslav Los Issue-ID: DCAEGEN2-1956 Change-Id: I7b3ceb97a628e3af5bda3178d182f4207069e86d --- k8s/tests/test_k8sclient.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'k8s/tests') diff --git a/k8s/tests/test_k8sclient.py b/k8s/tests/test_k8sclient.py index 079748c..fcc6b95 100644 --- a/k8s/tests/test_k8sclient.py +++ b/k8s/tests/test_k8sclient.py @@ -2,6 +2,7 @@ # org.onap.dcae # ================================================================================ # Copyright (c) 2018-2019 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2019 Pantheon.tech. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -34,9 +35,9 @@ def test_parse_interval(): (354123, 354123), ("354123", 354123), ("354123s", 354123), - (1234567890123456789012345678901234567890L,1234567890123456789012345678901234567890L), - ("1234567890123456789012345678901234567890",1234567890123456789012345678901234567890L), - ("1234567890123456789012345678901234567890s",1234567890123456789012345678901234567890L), + (1234567890123456789012345678901234567890,1234567890123456789012345678901234567890), + ("1234567890123456789012345678901234567890",1234567890123456789012345678901234567890), + ("1234567890123456789012345678901234567890s",1234567890123456789012345678901234567890), ("05s", 5), ("00000000000000000000000000000000005m", 5 * 60) ] -- cgit 1.2.3-korg