Skip to content

Commit 560472c

Browse files
const-cloudinarytocker
authored andcommitted
Fix unit tests on staging server
1 parent f0880a9 commit 560472c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/image_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class ImageTest(unittest.TestCase):
1010
def setUp(self):
1111
cloudinary.reset_config()
12-
cloudinary.config(cloud_name="test", api_secret="1234")
12+
cloudinary.config(cloud_name="test", api_secret="1234", cname=None)
1313
self.image = CloudinaryImage("hello", format="png")
1414

1515
def test_build_url(self):

tests/utils_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
class TestUtils(unittest.TestCase):
1919
def setUp(self):
2020
cloudinary.config(cloud_name="test123",
21+
cname=None, # for these tests without actual upload, we ignore cname
2122
api_key="a", api_secret="b",
2223
secure_distribution=None,
2324
private_cdn=False)

0 commit comments

Comments
 (0)