Cosmin Poieana 9c8f3ab5fb Fix mock_open issue in opennebula test
The state of the "open" mock object is not restored
when new data is read through the ".read" method,
even with the fake file object recreated. The only
possiblities are to make new open mock objects for
every read or to set a constant return value for
that particular mocked open.

Change-Id: Ibfa0edac24b9451b5bf9ba2500205353111758b3
2015-07-11 21:35:56 +03:00
..
2015-01-18 17:51:56 +02:00
2015-01-18 17:51:56 +02:00