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

Bug #1691119 reported by Alex Stafeyev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

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)

Revision history for this message
Jakub Libosvar (libosvar) wrote :

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
status: Opinion → Invalid
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.