Testing code for namespaces must check for existence of Project resource
in every test scenario. This is not reflected in the code.
Also, in namespace isolation scenario, there are no checks for creation
of isolated Virtual Network.
Add missing resource checks.
Also, simplify test code - no need for double namespace object creation
in the tests.
Additionally, pylint the code.
Reviewed: https:/ /review. opencontrail. org/33563 github. com/Juniper/ contrail- controller/ commit/ 908ed6876e2b538 dc900235ac84dfd babf44cb5e
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 908ed6876e2b538 dc900235ac84dfd babf44cb5e
Author: Artur Dębski <email address hidden>
Date: Wed Jul 12 15:46:42 2017 +0200
Add additional resource checks in namespace tests
Testing code for namespaces must check for existence of Project resource
in every test scenario. This is not reflected in the code.
Also, in namespace isolation scenario, there are no checks for creation
of isolated Virtual Network.
Add missing resource checks.
Also, simplify test code - no need for double namespace object creation
in the tests.
Additionally, pylint the code.
Change-Id: I182971b04bd7c8 d54cb123c011420 e55dbd5ac92
Closes-Bug: #1703839