mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Mock the seek function in MockFH
This commit is contained in:
parent
7eb4b1ae1c
commit
335591ca90
@ -105,6 +105,7 @@ class MockFH(object):
|
||||
self.close = Mock()
|
||||
self.write = Mock()
|
||||
self.writelines = Mock()
|
||||
self.seek = Mock()
|
||||
self._loc = 0
|
||||
|
||||
def _iterate_read_data(self, read_data):
|
||||
|
Loading…
Reference in New Issue
Block a user