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'}, {'b': 'ctxt2', 'c': 'ctxt3'}]
UNADDED_ID = '854848b6-94d9-487b-aa92-0b4181ccda03'
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.