diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-10-19 21:05:05 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-10-19 21:14:39 +0200 |
commit | 9ae7941263929b04a2b58e61e360d9e4dd80befe (patch) | |
tree | d69e73bb6c394e1bb4398bc35f63ab0e476179d9 | |
parent | a1a55a9e4c30a83854bbabc0658898d62fdd840f (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.py | 1 | ||||
-rw-r--r-- | test-requirements.txt | 2 |
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 |