Bug Fixes
- added a missing parameter
cert_check
to the MockMinioClient.init() interface of MockMinioClient, that is present inminio.Minio.__init__()
but was missing from the mocked class.
For Developers
- Reorganised the tests in smaller test files. Now every class has a dedicated test file mostly for unit testing such as
tests/test_minio_mock_bucket.py
- and functional tests are in
tests/test_minio_mock.py
- added tests for the MockMinioClient.init() interface to ensure replication of minio.Minio.init(). The same technique will be used to ensure the interface of all functions in the future.
- Test is now > 92%
Credits
Thanks to @gatagat for raising the issue and creating the pull request.