← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1457796] [NEW] gate-neutron-vpnaas-pep8 failing for test_cisco_ipsec.py

 

Public bug reported:

2015-05-22 06:10:39.386 |   /home/jenkins/workspace/gate-neutron-vpnaas-pep8$ /home/jenkins/workspace/gate-neutron-vpnaas-pep8/.tox/pep8/bin/flake8 
2015-05-22 06:10:40.192 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:261:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
2015-05-22 06:10:40.192 |         self.query_mock.return_value = [
2015-05-22 06:10:40.192 |         ^
2015-05-22 06:10:40.192 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:266:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
2015-05-22 06:10:40.192 |         self.query_mock.return_value = [
2015-05-22 06:10:40.192 |         ^
2015-05-22 06:10:40.192 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:271:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
2015-05-22 06:10:40.192 |         self.query_mock.return_value = [
2015-05-22 06:10:40.192 |         ^
2015-05-22 06:10:40.192 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:290:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
2015-05-22 06:10:40.192 |         self.query_mock.return_value = [
2015-05-22 06:10:40.193 |         ^
2015-05-22 06:10:40.193 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:295:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
2015-05-22 06:10:40.193 |         self.query_mock.return_value = [
2015-05-22 06:10:40.193 |         ^
2015-05-22 06:10:40.193 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:300:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
2015-05-22 06:10:40.193 |         self.query_mock.return_value = [
2015-05-22 06:10:40.193 |         ^
2015-05-22 06:10:40.220 | ERROR: InvocationError: '/home/jenkins/workspace/gate-neutron-vpnaas-pep8/.tox/pep8/bin/flake8'

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: vpnaas

** Tags added: vpnaas

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1457796

Title:
  gate-neutron-vpnaas-pep8 failing for test_cisco_ipsec.py

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  2015-05-22 06:10:39.386 |   /home/jenkins/workspace/gate-neutron-vpnaas-pep8$ /home/jenkins/workspace/gate-neutron-vpnaas-pep8/.tox/pep8/bin/flake8 
  2015-05-22 06:10:40.192 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:261:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
  2015-05-22 06:10:40.192 |         self.query_mock.return_value = [
  2015-05-22 06:10:40.192 |         ^
  2015-05-22 06:10:40.192 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:266:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
  2015-05-22 06:10:40.192 |         self.query_mock.return_value = [
  2015-05-22 06:10:40.192 |         ^
  2015-05-22 06:10:40.192 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:271:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
  2015-05-22 06:10:40.192 |         self.query_mock.return_value = [
  2015-05-22 06:10:40.192 |         ^
  2015-05-22 06:10:40.192 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:290:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
  2015-05-22 06:10:40.192 |         self.query_mock.return_value = [
  2015-05-22 06:10:40.193 |         ^
  2015-05-22 06:10:40.193 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:295:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
  2015-05-22 06:10:40.193 |         self.query_mock.return_value = [
  2015-05-22 06:10:40.193 |         ^
  2015-05-22 06:10:40.193 | ./neutron_vpnaas/tests/unit/services/vpn/service_drivers/test_cisco_ipsec.py:300:9: N325  Do not use xrange. Use range, or six.moves.range for large loops.
  2015-05-22 06:10:40.193 |         self.query_mock.return_value = [
  2015-05-22 06:10:40.193 |         ^
  2015-05-22 06:10:40.220 | ERROR: InvocationError: '/home/jenkins/workspace/gate-neutron-vpnaas-pep8/.tox/pep8/bin/flake8'

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1457796/+subscriptions


Follow ups

References