nova.tests.network.test_manager.AllocateTestCase should use mock
Bug #1357751 reported by
Jay Pipes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
bharaththiruveedula |
Bug Description
Unit tests should not need to start services. Instead, they should simply mock out the specific calls out of the unit of code that is being tested.
nova.tests.
Remove the calls to self.start_
tags: | added: low-hanging-fruit |
Changed in nova: | |
assignee: | nobody → ugvddm (271025598-9) |
Changed in nova: | |
assignee: | ugvddm (271025598-9) → nobody |
Changed in nova: | |
assignee: | nobody → Victor Howard (victor-r-howard) |
Changed in nova: | |
assignee: | Victor Howard (victor-r-howard) → nobody |
Changed in nova: | |
assignee: | nobody → Vineet Menon (mvineetmenon) |
Changed in nova: | |
status: | Triaged → Opinion |
status: | Opinion → In Progress |
Changed in nova: | |
assignee: | Vineet Menon (mvineetmenon) → nobody |
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → nobody |
Changed in nova: | |
assignee: | Sameer Adhikari (tri2sing) → nobody |
Changed in nova: | |
status: | In Progress → Confirmed |
tags: | added: testing |
Changed in nova: | |
assignee: | nobody → Aniruddha Singh Gautam (aniruddha-gautam) |
To post a comment you must log in.
Vineet, i don't see any reviews in progress, so setting this back to confirmed. please add a link to the review if/when you start one.