From 9926fa0fbd4d8304e55703f9b9c170ce60520ca6 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 2 Aug 2019 11:05:54 -0400 Subject: [PATCH] Moto got better at checking permissions in their mock. Since we want anonymous read of these objects, we have to be explicit about the bucket permissions or the test will fail. --- pavelib/paver_tests/test_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pavelib/paver_tests/test_database.py b/pavelib/paver_tests/test_database.py index acfceaa725..5009f8e292 100644 --- a/pavelib/paver_tests/test_database.py +++ b/pavelib/paver_tests/test_database.py @@ -68,7 +68,7 @@ class TestPaverDatabaseTasks(MockS3Mixin, PaverTestCase): def setUp(self): super(TestPaverDatabaseTasks, self).setUp() conn = boto.connect_s3() - conn.create_bucket('moto_test_bucket') + conn.create_bucket('moto_test_bucket', policy='public-read') self.bucket = conn.get_bucket('moto_test_bucket') # This value is the actual sha1 fingerprint calculated for the dummy # files used in these tests