From 9ae7941263929b04a2b58e61e360d9e4dd80befe Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 19 Oct 2019 21:05:05 +0200 Subject: Update Flake8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit 4d98d29002bf3ce61e1671db0b35c9046e2fbd8b) --- functest/tests/unit/vnf/ims/test_clearwater.py | 1 + test-requirements.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit 1.2.3-korg