Skip to content

v0.4.16

Latest
Compare
Choose a tag to compare
@oussjarrousse oussjarrousse released this 27 Aug 16:25
· 1 commit to main since this release
8f6c964

Bug Fixes

  • added a missing parameter cert_check to the MockMinioClient.init() interface of MockMinioClient, that is present in minio.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.