Mock the seek function in MockFH

This commit is contained in:
Erik Johnson 2018-06-17 22:24:03 -05:00
parent 7eb4b1ae1c
commit 335591ca90
No known key found for this signature in database
GPG Key ID: 5E5583C437808F3F

View File

@ -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):