]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
tests: stop validating neutronclient in neutron-debug tests
authorIhar Hrachyshka <ihrachys@redhat.com>
Wed, 13 Jan 2016 12:32:15 +0000 (13:32 +0100)
committerAkihiro Motoki <amotoki@gmail.com>
Thu, 14 Jan 2016 06:46:45 +0000 (06:46 +0000)
commitfeced76488ea99355c605e0bc719723931621693
tree3beaa48d9afcf9d976d5d1e19c54fb4e76b77421
parente5aaa2d6827b029574b0324f0a2644e9a6afc44c
tests: stop validating neutronclient in neutron-debug tests

In neutronclient 4.0.0, any command executed triggers DeprecationWarning
on stderr (to be fixed by I77f168af92ae51ce16bed4988bbcaf7c18557727 and
a new client release including it).

The test cases assumed that if command is successful, it never writes to
stderr though. Making the test failing when using the latest client.

Instead of fixing the test class not to assume there is no output on
stderr, remove it because we are not meant to validate neutronclient in
neutron gate at all and should rely on the library as shipped. Client
should already have reasonable coverage for its CLI.

Change-Id: I6440445b80637a5a9f4de052cf5ea1fbd8dcf7d1
Closes-Bug: #1533638
neutron/tests/unit/debug/test_shell.py [deleted file]