Historique des commits

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