The congress.tests.api.test_webservice Module

class congress.tests.api.test_webservice.TestAbstractHandler(*args, **kwargs)

Bases: congress.tests.base.TestCase

test_parse_json_body()
class congress.tests.api.test_webservice.TestCollectionHandler(*args, **kwargs)

Bases: congress.tests.base.TestCase

test_create_member()
test_get_action_type()
test_list_members()
test_update_members()
class congress.tests.api.test_webservice.TestElementHandler(*args, **kwargs)

Bases: congress.tests.base.TestCase

test_action()
test_delete()
test_read()
test_replace()
test_update()
class congress.tests.api.test_webservice.TestSimpleDataModel(*args, **kwargs)

Bases: congress.tests.base.TestCase

CONTEXTS = [None, {‘a’: ‘ctxt1’}, {‘c’: ‘ctxt3’, ‘b’: ‘ctxt2’}]
UNADDED_ID = ‘88df37c2-66e9-4cc5-9d07-1ca700dde747’
test_add_item()

Test API DataModel add_item functionality.

test_delete_item()

Test API DataModel delete_item functionality.

test_get_item()

Test API DataModel get_item functionality.

test_get_items()

Test API DataModel get_items functionality.

test_update_item()

Test API DataModel update_item functionality.