Currently, setup_common_objects method in BaseResource class also creates the resources not required by the sanity test cases.
To solve this issue, a new class BaseSanityResource with its own setup_common_objects method having minimum resources should be inherited by BaseResource class.
With this change, setup_common_objects method of BaseSanityResource class gets called during sanity run, eliminating the need of creating an instance of BaseResource class.
Reviewed: https:/ /review. opencontrail. org/36510 github. com/Juniper/ contrail- test/commit/ 8aacd516d597d47 562d26e4b3e922b fa9479179f
Committed: http://
Submitter: Zuul (<email address hidden>)
Branch: master
commit 8aacd516d597d47 562d26e4b3e922b fa9479179f
Author: ankitja <email address hidden>
Date: Fri Oct 13 16:25:45 2017 +0530
Analytics resource class changes
Currently, setup_common_ objects method in BaseResource class also creates the resources not required by the sanity test cases. objects method having minimum resources should be inherited by BaseResource class. objects method of BaseSanityResource class gets called during sanity run, eliminating the need of creating an instance of BaseResource class.
To solve this issue, a new class BaseSanityResource with its own setup_common_
With this change, setup_common_
Change-Id: Ib155776927a1d2 86b80a1eb640165 e0823a280b1
Closes-bug: #1723234