Commit History

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