Module ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ unicode_literals waffle.models Flag Switch waffle.tests.base TestCase DecoratorTests N/A TestCase N/A test_flag_must_be_active N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /flag-on N/A N/A N/A self assertEqual 404 N/A resp status_code N/A N/A N/A N/A Flag objects create name foo everyone True N/A resp N/A N/A N/A self client get /flag-on N/A N/A N/A self assertEqual 200 N/A resp status_code N/A test_flag_must_be_inactive N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /flag-off N/A N/A N/A self assertEqual 200 N/A resp status_code N/A N/A N/A N/A Flag objects create name foo everyone True N/A resp N/A N/A N/A self client get /flag-off N/A N/A N/A self assertEqual 404 N/A resp status_code N/A test_switch_must_be_active N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /switch-on N/A N/A N/A self assertEqual 404 N/A resp status_code N/A N/A N/A N/A Switch objects create name foo active True N/A resp N/A N/A N/A self client get /switch-on N/A N/A N/A self assertEqual 200 N/A resp status_code N/A test_switch_must_be_inactive N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /switch-off N/A N/A N/A self assertEqual 200 N/A resp status_code N/A N/A N/A N/A Switch objects create name foo active True N/A resp N/A N/A N/A self client get /switch-off N/A N/A N/A self assertEqual 404 N/A resp status_code N/A test_switch_must_be_inactive_and_redirect_to_view N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /switched_view_with_valid_redirect N/A N/A N/A self assertEqual 302 N/A resp status_code N/A N/A N/A N/A Switch objects create name foo active True N/A resp N/A N/A N/A self client get /switched_view_with_valid_redirect N/A N/A N/A self assertEqual 200 N/A resp status_code N/A test_switch_must_be_inactive_and_redirect_to_named_view N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /switched_view_with_valid_url_name N/A N/A N/A self assertEqual 302 N/A resp status_code N/A N/A N/A N/A Switch objects create name foo active True N/A resp N/A N/A N/A self client get /switched_view_with_valid_url_name N/A N/A N/A self assertEqual 200 N/A resp status_code N/A test_switch_must_be_inactive_and_not_redirect N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /switched_view_with_invalid_redirect N/A N/A N/A self assertEqual 404 N/A resp status_code N/A N/A N/A N/A Switch objects create name foo active True N/A resp N/A N/A N/A self client get /switched_view_with_invalid_redirect N/A N/A N/A self assertEqual 200 N/A resp status_code N/A test_flag_must_be_inactive_and_redirect_to_view N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /flagged_view_with_valid_redirect N/A N/A N/A self assertEqual 302 N/A resp status_code N/A N/A N/A N/A Flag objects create name foo everyone True N/A resp N/A N/A N/A self client get /flagged_view_with_valid_redirect N/A N/A N/A self assertEqual 200 N/A resp status_code N/A test_flag_must_be_inactive_and_redirect_to_named_view N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /flagged_view_with_valid_url_name N/A N/A N/A self assertEqual 302 N/A resp status_code N/A N/A N/A N/A Flag objects create name foo everyone True N/A resp N/A N/A N/A self client get /flagged_view_with_valid_url_name N/A N/A N/A self assertEqual 200 N/A resp status_code N/A test_flag_must_be_inactive_and_not_redirect N/A N/A self N/A N/A N/A resp N/A N/A N/A self client get /flagged_view_with_invalid_redirect N/A N/A N/A self assertEqual 404 N/A resp status_code N/A N/A N/A N/A Flag objects create name foo everyone True N/A resp N/A N/A N/A self client get /flagged_view_with_invalid_redirect N/A N/A N/A self assertEqual 200 N/A resp status_code N/A N/A