All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
4.2.1 - 2020-08-04
SMBConnectionMock.listPath
now lists directories by default (as inpysmb
).
4.2.0 - 2020-07-31
- Folder creation is now performed using a temporary folder name to avoid issues with folder not being available for file system listeners right away.
4.1.0 - 2020-07-28
write_to_new_folder_after
parameter topyndows.move
allowing to wait (or not), for a few seconds before writing file after a folder creation.
pyndows.move
now waits 1 second in case of a folder creation before writing the file.
- Avoid warning in test cases on Windows when pytest could not remove the content of temporary folders.
4.0.0 - 2020-04-24
- Mock was entirely rewritten, check documentation for details.
- Ensure all parent folders are created before creating a file.
pyndows.PyndowsException
are now raised instead ofException
.
3.4.0 - 2020-02-25
timeout
parameter forpyndows.move
.SMBConnectionMock.storeFile_exceptions
to raise exception in case storeFile is called.
SMBConnectionMock.storeFile_failure
, useSMBConnectionMock.storeFile_exceptions
instead.
3.3.1 - 2020-02-06
- Mock now replaces the
?
wildcard defined in MS-CIFS protocol by a.
.
3.3.0 - 2020-02-04
- retrieveFile mock was not working with Python < 3.8 in case retrieved file content was bytes.
- pyndows.get_folder_content listing the content of a folder (non-recursively).
- File type (isDirectory boolean) within mocked SharedFile object.
3.2.0 - 2020-01-22
- Allow to store bytes content using Mock.
- Mock is now able to retrieve a file that was previously stored.
- Mock stored files can now be retrieved with the help of a timeout via
try_get
method.
3.1.0 - 2019-12-03
- Initial release.