Skip to content

Commit ed642b4

Browse files
test(apiclient): fix pep8check of deactivated role user test
1 parent 30d7ed5 commit ed642b4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/test_apiclient.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -312,13 +312,13 @@ def test_apiclientmethods():
312312

313313
# [login succeeded; role used]
314314
# cl.useOTESystem()
315-
#cl.setRoleCredentials('test.user', 'testrole', 'test.passw0rd')
316-
#r = cl.login()
317-
#assert isinstance(r, R)
318-
#assert r.isSuccess() is True, ("{0} {1}").format(r.getCode(), r.getDescription())
319-
#rec = r.getRecord(0)
320-
#assert rec is not None
321-
#assert rec.getDataByKey('SESSION') is not None
315+
# cl.setRoleCredentials('test.user', 'testrole', 'test.passw0rd')
316+
# r = cl.login()
317+
# assert isinstance(r, R)
318+
# assert r.isSuccess() is True, ("{0} {1}").format(r.getCode(), r.getDescription())
319+
# rec = r.getRecord(0)
320+
# assert rec is not None
321+
# assert rec.getDataByKey('SESSION') is not None
322322

323323
# [login failed; wrong credentials]
324324
cl.setCredentials('test.user', 'WRONGPASSWORD')

0 commit comments

Comments
 (0)