You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
create_database should launch an error than the current user doesn't have a write access. As we have with the create method for the CloudantDatabase class.
Thank you for this ticket!
According to the "environment details" section of the issue description, you are using "2.13.0".
However, #447 is supposed to fix this issue which was included with 2.13.0. (FWIW, 2.13.0 was released 4 days ago - https://github.com/cloudant/python-cloudant/releases/tag/2.13.0 ).
Can you please confirm that the version that's being imported and used is actually the latest? You can do it by adding a line of
Please read these guidelines before opening an issue.
Bug Description
1. Steps to reproduce and the simplest code sample possible to demonstrate the issue
We should start at first a couchdb instance, with an
foo
user, andbar
as password for an admin user,2. What you expected to happen
create_database
should launch an error than the current user doesn't have a write access. As we have with thecreate
method for theCloudantDatabase
class.will return this exception
cloudant.error.CloudantDatabaseException: Unauthorized to create database http://localhost:5984/my_database
3. What actually happened
It will never launch an exception and will consider the database creation as successful, while the database would never be created.
Environment details
The text was updated successfully, but these errors were encountered: