Module Expr Str Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad keyword Dict Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad Str Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad Str Call NameLoad keyword Dict Str Dict Str Str Str Str NameLoad ListLoad NameLoad ListLoad Str Assert Call NameLoad AttributeLoad NameLoad attr NameLoad Assert Call NameLoad AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list AttributeLoad NameLoad attr Return Dict Str Str Str NameLoad NameLoad BinOpAdd NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad keyword Dict Str Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad Str Call NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad Str Call NameLoad keyword Dict Str Dict Str Str Str Str Str ListLoad Str ListLoad Str Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str Dict Str Str Str Str SubscriptLoad NameLoad Index Str ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword SubscriptLoad Call AttributeLoad NameLoad attr Index Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad NameLoad body Expr Call NameLoad Str Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str keyword AttributeLoad NameLoad attr keyword Dict Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assert CompareEq Call NameLoad AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad Call AttributeLoad NameLoad attr Index Str Assert CompareEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str keyword AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad NameLoad body Expr Call NameLoad Str keyword Num decorator_list
N/A N/A Tests for the followers blueprint N/A requests flask json py.test raises fixture tentd.documents.entity Follower tentd.tests.http POST SPUT SDELETE tentd.tests.mock MockFunction MockResponse tentd.utils.exceptions APIBadRequest N/A PROFILE_FORMAT <{}/profile>; rel="https://tent.io/rels/profile" follower_mocks N/A N/A request monkeypatch N/A N/A N/A follower_identity http://follower.example.com N/A follower_api_root http://follower.example.com/tentd N/A N/A N/A monkeypatch setattr requests head N/A MockFunction N/A N/A N/A requests head N/A follower_identity N/A MockResponse headers N/A Link N/A N/A PROFILE_FORMAT format follower_api_root N/A N/A N/A monkeypatch setattr requests get N/A MockFunction N/A N/A N/A requests get N/A N/A follower_api_root /notification N/A MockResponse N/A N/A N/A requests get N/A N/A follower_api_root /profile N/A MockResponse json N/A https://tent.io/types/info/core/v0.1.0 N/A entity servers licences tent_version follower_identity N/A follower_api_root N/A 0.2 N/A N/A isinstance N/A requests head MockFunction N/A N/A isinstance N/A requests get MockFunction teardown_mocks N/A N/A N/A N/A N/A N/A N/A monkeypatch delattr requests head N/A N/A N/A monkeypatch delattr requests get N/A N/A request addfinalizer N/A N/A identity api_root notification_path follower_identity follower_api_root N/A follower_api_root /notification N/A fixture new_follower_mocks N/A N/A request follower_mocks N/A N/A N/A new_follower_identity http://changed.follower.example.com N/A new_follower_api_root http://changed.follower.example.com/tentd N/A N/A N/A requests head N/A new_follower_identity N/A MockResponse headers N/A Link N/A N/A PROFILE_FORMAT format new_follower_api_root N/A N/A N/A requests get N/A N/A new_follower_api_root /notification N/A MockResponse N/A N/A N/A requests get N/A N/A new_follower_api_root /profile N/A MockResponse json N/A https://tent.io/types/info/core/v0.1.0 N/A entity servers licences tent_version http://changed.follower.example.com N/A http://changed.follower.example.com/tentd N/A 0.2 N/A N/A N/A follower_mocks update N/A new_identity new_api_root new_follower_identity new_follower_api_root N/A follower_mocks N/A fixture test_create_follower N/A N/A entity follower_mocks N/A N/A N/A Test that you can start following an entity. N/A response N/A POST followers.followers N/A entity licences types notification_path N/A follower_mocks N/A identity N/A all notification N/A N/A N/A N/A Follower objects get id N/A N/A N/A response json N/A id N/A N/A N/A N/A requests get was_called N/A follower_mocks N/A notification_path N/A test_create_invalid_follower N/A N/A entity follower_mocks N/A N/A N/A Test that trying to follow an invalid entity will fail. N/A N/A raises APIBadRequest N/A N/A N/A POST followers.followers <invalid> N/A N/A N/A N/A requests get was_not_called N/A follower_mocks N/A notification_path N/A test_update_follower N/A N/A entity follower new_follower_mocks N/A N/A N/A Test that the following relationship can be edited correctly. N/A response N/A SPUT followers.follower follower_id N/A follower id data N/A entity N/A new_follower_mocks N/A new_identity N/A updated_follower N/A N/A N/A Follower objects get id N/A follower id N/A N/A N/A str N/A follower id N/A N/A N/A response json N/A id N/A N/A N/A new_follower_mocks N/A new_identity N/A N/A N/A response json N/A entity N/A N/A N/A new_follower_mocks N/A new_identity N/A updated_follower identity N/A test_delete_follower N/A N/A follower N/A N/A N/A N/A SDELETE followers.follower follower_id N/A follower id N/A N/A N/A N/A N/A Follower objects count 0 N/A test_delete_missing_follower N/A N/A entity N/A N/A N/A Test that trying to stop following a non-existent user fails. N/A N/A raises APIBadRequest N/A N/A N/A SDELETE followers.follower follower_id 0 N/A