← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1691119] Re: testtools.run neutron.tests.tempest.scenario.test_floatingip.FloatingIpSameNetwork.test_east_west

 

The test uses scenario, you can't simply run a single test, you need to
run the whole class.

** Changed in: neutron
       Status: New => Opinion

** Changed in: neutron
       Status: Opinion => Invalid

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

Title:
  testtools.run
  neutron.tests.tempest.scenario.test_floatingip.FloatingIpSameNetwork.test_east_west

Status in neutron:
  Invalid

Bug description:
  We believe that each test should not depend on other tests.

  python -m testtools.run neutron.tests.tempest.scenario.test_floatingip
  Ran 4 tests in 139.164s
  OK

  
  python -m testtools.run neutron.tests.tempest.scenario.test_floatingip.FloatingIpSameNetwork.test_east_west

  ======================================================================
  ERROR: neutron.tests.tempest.scenario.test_floatingip.FloatingIpSameNetwork.test_east_west[id-05c4e3b3-7319-4052-90ad-e8916436c23b]
  ----------------------------------------------------------------------
  Empty attachments:
    pythonlogging:''

  Traceback (most recent call last):
    File "/home/centos/tempest-upstream/neutron/neutron/tests/tempest/scenario/test_floatingip.py", line 125, in test_east_west
      self._test_east_west()
    File "/home/centos/tempest-upstream/neutron/neutron/tests/tempest/scenario/test_floatingip.py", line 100, in _test_east_west
      if self.dest_has_fip:
  AttributeError: 'FloatingIpSameNetwork' object has no attribute 'dest_has_fip'

  Ran 1 test in 57.370s
  FAILED (failures=1)

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


References