![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OpenStack
文章平均质量分 81
ikaruga11
这个作者很懒,什么都没留下…
展开
-
Nova UT and Mox 学习
官方推荐流程: # Create Mox factory my_mox = Mox() # Create a mock data access object#创建一个Mock对象,会为DAOClass这个类做Stub out,就是做个桩。还可以指定attrs参数,为Class的属性设置值。CreateMock(self, class_to_mock, attrs={})原创 2014-01-14 18:13:08 · 399 阅读 · 0 评论 -
Paste Deploy and Neutron
Paste Deployneutron的api-paste.ini:[composite:neutron]use = egg:Paste#urlmap/: neutronversions/v2.0: neutronapi_v2_0[composite:neutronapi_v2_0]use = call:neutron.auth:pipeline_factorynoauth = reque原创 2015-04-08 13:33:01 · 319 阅读 · 0 评论