@moutya007: you *can* put the unit test in there, sure. You could also put it into a functional test since this is deterministic behaviour that you can control the setup for (as opposed to something like a race condition where it is very difficult to reproduce reliably outside of unit tests).
To do the functional test, you can copy one of the "gabbits" in this directory:
@moutya007: you *can* put the unit test in there, sure. You could also put it into a functional test since this is deterministic behaviour that you can control the setup for (as opposed to something like a race condition where it is very difficult to reproduce reliably outside of unit tests).
To do the functional test, you can copy one of the "gabbits" in this directory:
https:/ /github. com/openstack/ nova/tree/ master/ nova/tests/ functional/ api/openstack/ placement/ gabbits
and adapt appropriately. A good example to copy from would be something like this:
https:/ /github. com/openstack/ nova/blob/ master/ nova/tests/ functional/ api/openstack/ placement/ gabbits/ resource- provider. yaml#L370- L389
Best,
-jay