pyramid_jsonapi.unit_tests module

class pyramid_jsonapi.unit_tests.Permissions(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_create_empty()[source]
test_create_no_template()[source]
test_create_subtractive()[source]
test_create_with_attributes()[source]
test_create_with_bool_attributes()[source]
test_create_with_false_id()[source]
test_create_with_incorrect_atts()[source]
test_create_with_incorrect_rels()[source]
test_create_with_rels()[source]
test_op_and()[source]
test_op_or()[source]
test_op_sub()[source]
test_template_from_view()[source]
class pyramid_jsonapi.unit_tests.TestView(all_attributes: FrozenSet[str], relationships: FrozenSet[str])[source]

Bases: object

all_attributes: FrozenSet[str]
relationships: FrozenSet[str]