Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-793

Cluster.bucket needs kwargs for the tests to work against the mock

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0-beta.3
    • 3.0.0
    • None
    • None
    • 1
    • SDK13: Coll/Txn/Docs More Chip

    Description

      And the tests need to add the connargs (see ClusterTestCase.setUp). But only for the mock - when running against a real server we don't need it. I didn't want to fix this as part of other fixes, so making a new issue for it. However this seems really bad and worth reworking the test underpinnings to not need it. It really makes one wonder exactly what we are testing

      Attachments

        For Gerrit Dashboard: PYCBC-793
        # Subject Branch Project Status CR V

        Activity

          Ellis.Breen Ellis Breen added a comment -

          Possibly not-a-bug:
          The Mock works with ClassicAuthenticator, but the Server will work with either PasswordAuthenticator. Dropping the kwargs works, and recent test framework iterations have removed them.

          Ellis.Breen Ellis Breen added a comment - Possibly not-a-bug: The Mock works with ClassicAuthenticator, but the Server will work with either PasswordAuthenticator. Dropping the kwargs works, and recent test framework iterations have removed them.

          People

            Ellis.Breen Ellis Breen
            david.kelly David Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty