Re: [openstack-dev] [vitrage] how to use mock driver

2016-12-13 Thread Yujun Zhang
t Mailing List (not for usage questions) < > openstack-dev@lists.openstack.org> > > *Subject:* Re: [openstack-dev] [vitrage] how to use mock driver > > > > Elisha, thanks for the explanation. The difference is clear to me now. > > > > If I understand it correct

Re: [openstack-dev] [vitrage] how to use mock driver

2016-12-13 Thread Rosensweig, Elisha (Nokia - IL)
List (not for usage questions) <openstack-dev@lists.openstack.org> Subject: Re: [openstack-dev] [vitrage] how to use mock driver Elisha, thanks for the explanation. The difference is clear to me now. If I understand it correctly, the regular expression in spec JSON is for informatio

Re: [openstack-dev] [vitrage] how to use mock driver

2016-12-12 Thread Yujun Zhang
les in > test_scenario_evaluator.py. > > > > Elisha > > > > *From:* Yujun Zhang [mailto:zhangyujun+...@gmail.com] > *Sent:* Monday, December 12, 2016 8:23 AM > *To:* OpenStack Development Mailing List (not for usage questions) < > openstack-dev@lists.openstack.org> >

Re: [openstack-dev] [vitrage] how to use mock driver

2016-12-12 Thread Rosensweig, Elisha (Nokia - IL)
itrage] how to use mock driver Is there any documentation on how to use mock driver for unit testing? It seems it generates fake events from json spec but what is the different between - `xxx_snapshot_X.json` and `xxx_dynamic_X.json` - `xxx_S` and

[openstack-dev] [vitrage] how to use mock driver

2016-12-11 Thread Yujun Zhang
Is there any documentation on how to use mock driver for unit testing? It seems it generates fake events from json spec but what is the different between - `xxx_snapshot_X.json` and `xxx_dynamic_X.json` - `xxx_S` and `xxx_D`