Skip to content
Snippets Groups Projects
Commit a09314a1 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

doc

parent 6d37e6ab
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,12 @@ from pytest import raises
def test_subclass_configure():
# TODO I do not see the meaning of this test.
#It only tests, that the call of the super version of configure sets the
#password property. And that due to the subclassing no longer a password
# argument can be provided.
# Suggestion: Either remove this test or state in what context this test
# is meanigful.
"""Test the correct passing of the password argument."""
class SubClassOf(PlainTextCredentialsProvider):
"""A simple subclass of PlainTextCredentialsProvider."""
......
......@@ -157,6 +157,7 @@ def test_init_response():
response = MockUpResponse(
status=200, headers={"sessionToken": "SessionToken"}, body="Body")
there(response)
return response
......@@ -180,6 +181,7 @@ def test_getter_session_token():
def test_init_connection():
connection = MockUpServerConnection()
there(connection)
return connection
......@@ -189,6 +191,7 @@ def test_resources_list():
assert len(connection.resources) == 1
connection.resources.append(lambda **kwargs: test_init_response())
assert len(connection.resources) == 2
return connection
......@@ -219,6 +222,7 @@ def setup_two_resources():
connection = test_init_connection()
connection.resources.extend([r1, r2, r3])
return connection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment