[Contrail 3.0.1] Plugin tests did not pass flake

Bug #1570898 reported by Yevgeniy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Contrail plugin
Fix Released
Medium
Yevgeniy

Bug Description

Scenario:
   1. Install flake8
   2. Run flake8 for ~plugin_tests/
Actual result:
  ./test_failover.py:16:1: F401 'assert_equal' imported but unused
  ./test_failover.py:23:1: F401 'openstack' imported but unused
  ./test_failover.py:142:1: W391 blank line at end of file
  ./test_functional.py:592:80: E501 line too long (99 > 79 characters)
  ./test_integration.py:18:1: F401 'time' imported but unused
  ./test_integration.py:373:80: E501 line too long (80 > 79 characters)
  ./test_network_templates.py:17:1: F401 'time' imported but unused
  ./test_network_templates.py:18:1: F401 'IPNetwork' imported but unused
  ./test_network_templates.py:20:1: F401 'assert_true' imported but unused
  ./test_network_templates.py:40:5: E731 do not assign a lambda expression, use a def
  ./test_smoke_bvt.py:17:1: F401 'time' imported but unused
  ./run_tests.py:44:5: F401 'test_smoke_bvt' imported but unused
  ./run_tests.py:45:5: F401 'test_integration' imported but unused
  ./run_tests.py:46:5: F401 'test_functional' imported but unused
  ./run_tests.py:47:5: F401 'test_network_templates' imported but unused
  ./run_tests.py:48:5: F401 'test_failover' imported but unused
  ./helpers/openstack.py:15:1: F401 'time' imported but unused
  ./helpers/openstack.py:19:1: F401 'check_repo_managment' imported but unused
Expected result:
  no errors

Tags: contrail
Yevgeniy (yshapovalov)
Changed in fuel-plugin-contrail:
status: New → In Progress
Yevgeniy (yshapovalov)
Changed in fuel-plugin-contrail:
status: In Progress → Fix Committed
Yevgeniy (yshapovalov)
Changed in fuel-plugin-contrail:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.