mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Mock the seek function in MockFH
This commit is contained in:
parent
7eb4b1ae1c
commit
335591ca90
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue