aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-10-19 21:05:05 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-10-19 21:18:37 +0200
commit662c1a9eb05fb35b22672bb0ab3811829dc27414 (patch)
tree8653313255a5bef08404a4b1ee641d7a2e167d4f
parent3588a59ac90c3e30d10d32ea4016c5c786a9991d (diff)
Update Flake8
It avoids the next incompatibility: ERROR: flake8 2.5.5 has requirement mccabe<0.5,>=0.2.1, but you'll have mccabe 0.6.1 which is incompatible. Change-Id: Ic3bb14b032adfee64109549abc0a09d8cc86968f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4d98d29002bf3ce61e1671db0b35c9046e2fbd8b)
-rw-r--r--functest/tests/unit/vnf/ims/test_clearwater.py1
-rw-r--r--test-requirements.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/functest/tests/unit/vnf/ims/test_clearwater.py b/functest/tests/unit/vnf/ims/test_clearwater.py
index 435b172db..f590a2857 100644
--- a/functest/tests/unit/vnf/ims/test_clearwater.py
+++ b/functest/tests/unit/vnf/ims/test_clearwater.py
@@ -38,6 +38,7 @@ class ClearwaterTesting(unittest.TestCase):
'cookies': ""}
self.mock_post_200.configure_mock(**attrs)
+
if __name__ == "__main__":
logging.disable(logging.CRITICAL)
unittest.main(verbosity=2)
diff --git a/test-requirements.txt b/test-requirements.txt
index 03bdde60d..971a3bee2 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4,7 +4,7 @@
coverage!=4.4 # Apache-2.0
mock # BSD
nose # LGPL
-flake8<2.6.0,>=2.5.4 # MIT
+flake8 # MIT
pylint # GPLv2
sphinx!=1.6.6,!=1.6.7 # BSD
sphinx-rtd-theme