From 9f4936203dd2e4b736b60db6fbf37caf01d664a1 Mon Sep 17 00:00:00 2001 From: naisanzaa Date: Tue, 31 Jan 2023 21:37:32 +0700 Subject: [PATCH] minio: fix tests --- .../minioWrapper/tests/test_minio_client_public.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automon/integrations/minioWrapper/tests/test_minio_client_public.py b/automon/integrations/minioWrapper/tests/test_minio_client_public.py index 43e305db..c87a000d 100644 --- a/automon/integrations/minioWrapper/tests/test_minio_client_public.py +++ b/automon/integrations/minioWrapper/tests/test_minio_client_public.py @@ -23,8 +23,8 @@ def test_get_bucket(self): if client.is_connected(): test = client.make_bucket(bucket) - self.assertTrue(client.get_bucket(test)) - self.assertTrue(type(client.get_bucket(test)), Bucket) + self.assertTrue(client.get_bucket(test.name)) + self.assertTrue(type(client.get_bucket(test.name)), Bucket) if __name__ == '__main__':