pypi pytest-minio-mock 0.4.16
v0.4.16

latest releases: 0.4.19, 0.4.18, 0.4.17...
13 months ago

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.

Don't miss a new pytest-minio-mock release

NewReleases is sending notifications on new releases.