Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 541ed50

Browse files
committed
Use mock credentials in basic session test
1 parent 73e268f commit 541ed50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/client_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def test_session_basic(self, m_req):
231231
m_response_ok.json.return_value = ['animaldb']
232232
m_req.return_value = m_response_ok
233233

234-
client = Cloudant(self.user, self.pwd, url=self.url, use_basic_auth=True)
234+
client = Cloudant('foo', 'bar', url=self.url, use_basic_auth=True)
235235
client.connect()
236236
self.assertIsInstance(client.r_session, BasicSession)
237237

@@ -241,7 +241,7 @@ def test_session_basic(self, m_req):
241241
'GET',
242242
self.url + '/_all_dbs',
243243
allow_redirects=True,
244-
auth=(self.user, self.pwd), # uses HTTP Basic Auth
244+
auth=('foo', 'bar'), # uses HTTP Basic Auth
245245
timeout=None
246246
)
247247

0 commit comments

Comments
 (0)