It is expected, that unittests cover project modules in relation 1:1 and
placed in appropriate tree as main modules do.
It should be like in example:
manila/[tests/]foo/bar/[test_]modulename.py
Also fixed stub of service_instance in generic driver test suite, it was
overwriting service instance manager class for whole test run. Problem
appears only with this commit because order of tests is changed here.
Reviewed: https:/ /review. openstack. org/118294 /git.openstack. org/cgit/ stackforge/ manila/ commit/ ?id=599efefbcd7 e532befb64d58f2 bc209f9c9e8789
Committed: https:/
Submitter: Jenkins
Branch: master
commit 599efefbcd7e532 befb64d58f2bc20 9f9c9e8789
Author: Valeriy Ponomaryov <email address hidden>
Date: Tue Sep 2 06:21:05 2014 -0400
Move driver unittest modules to proper place
It is expected, that unittests cover project modules in relation 1:1 and
placed in appropriate tree as main modules do.
It should be like in example: [tests/ ]foo/bar/ [test_] modulename. py
manila/
Also fixed stub of service_instance in generic driver test suite, it was
overwriting service instance manager class for whole test run. Problem
appears only with this commit because order of tests is changed here.
Change-Id: I26136b21f55fb2 563f15a9a44ca0b 6613f75165c
Partial-Bug: #1348633