Commit History

Autor SHA1 Mensaxe Data
  Erik Johnson 3b6356f4b0 Raise TypeError when trying to read from filehandles not opened for reading %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 0e8c83bac6 2 MockFH enhancements: %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 1cbe89feee Implement tell() for filehandle iteration %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 38df912fa6 Operate on a copy of the read_data %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 67c036dc2d Add MockCall to tests.support.mock to track calls %!s(int64=6) %!d(string=hai) anos
  Erik Johnson fd9d700157 Add additional docs to MockOpen class %!s(int64=6) %!d(string=hai) anos
  Erik Johnson fc0aa9934f Track call_count in MockOpen %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 51b3faa7b4 Add support for passing multiple strings for a given match in read_data %!s(int64=6) %!d(string=hai) anos
  Erik Johnson f5823252bb Track call args/kwargs in MockFH %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 335591ca90 Mock the seek function in MockFH %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 2be19cfa89 Report correct location when reading using explicit size and EOF reached %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 5ec95ba5ca On second thought, actually implement tell() %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 19022eb9e5 Add tell mock to MockFH %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 4e67955572 Replace the rest of mock_open with a class %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 836fde9a30 Allow Python 2 to accept an exception as read_data %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 543385fd02 Add writelines_calls property %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 42fa842456 Make read funcs mocks so their calls can be tracked %!s(int64=6) %!d(string=hai) anos
  Erik Johnson b9200dbc3e add a dict containing the handles to the mock_open return object %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 852ba4b982 Add mocked close() function to MockFH %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 1861e9b944 mock_open: rewrite multi-file support %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 5e6b539770 Use function for empty string %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 5d09b178d7 Separate mocked file contents per filename, not glob %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 875102f538 Modify mock_open to support multiple file paths %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 8ba6cadac7 More mock_open bugfixes %!s(int64=6) %!d(string=hai) anos
  Erik Johnson e6a4744f85 Use errno instead of hard-coding error 2 %!s(int64=6) %!d(string=hai) anos
  Erik Johnson ff63f36932 Fixes / enhancements for mock_open %!s(int64=6) %!d(string=hai) anos
  rallytime 3273bbdab7 Merge branch '2017.7' into '2018.3' %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 93ee5ee2b0 Fix all Sphinx warnings %!s(int64=6) %!d(string=hai) anos
  Erik Johnson 9d004f6512 Use mock 2.0.0 instead of unittest.mock on Python 3 (#2) %!s(int64=6) %!d(string=hai) anos
  Erik Johnson d6d7da5c90 Replace all usage of six.b %!s(int64=6) %!d(string=hai) anos