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:05:05 +0200
commit4d98d29002bf3ce61e1671db0b35c9046e2fbd8b (patch)
tree0d41da97af54530926faf11f9b3ec2480c2bc639
parent7ac977b6eaf9e3d3c79b47aa3fc36d291cb423b7 (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>
-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 fbfec29f1..e6deb9911 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,<2.0.0;python_version=='2.7' # BSD
sphinx!=1.6.6,!=1.6.7,!=2.1.0;python_version>='3.4' # BSD