Module Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad Str keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Str body If CompareIs NameLoad NameLoad body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Pass decorator_list Call NameLoad keyword Str ClassDef bases NameLoad NameLoad body Pass decorator_list Call NameLoad keyword Str ClassDef bases NameLoad NameLoad body Pass decorator_list Call NameLoad keyword Str
N/A N/A json unittest.mock patch django.test Client RequestClient django.test override_settings django.test TestCase django.test TransactionTestCase orchestra.tests.helpers.notifications MockMail orchestra.tests.helpers.fixtures UserFactory orchestra.communication.tests.helpers.slack MockSlacker N/A logging N/A N/A N/A logging disable N/A logging CRITICAL OrchestraTestHelpersMixin N/A object N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super setUp N/A N/A self maxDiff None N/A N/A self slack N/A MockSlacker N/A patcher N/A patch orchestra.communication.slack.slacker.Slacker return_value N/A self slack N/A N/A N/A patcher start N/A N/A N/A self addCleanup N/A patcher stop N/A N/A N/A self addCleanup N/A N/A self slack clear N/A N/A self mail N/A MockMail N/A patcher N/A patch orchestra.utils.notifications.send_mail side_effect N/A N/A self mail send_mail N/A N/A N/A patcher start N/A N/A N/A self addCleanup N/A patcher stop N/A N/A N/A self addCleanup N/A N/A self mail clear N/A ensure_response N/A N/A self response expected_json_payload expected_status_code N/A N/A N/A N/A N/A self assertEquals N/A response status_code expected_status_code N/A returned N/A N/A json loads N/A N/A N/A response content decode utf-8 N/A N/A N/A self assertEquals returned expected_json_payload N/A _submit_assignment N/A N/A self client task_id data seconds command N/A None 1 submit N/A N/A N/A data None N/A N/A data N/A test test N/A request N/A N/A json dumps N/A task_id task_data command_type task_id data command N/A N/A N/A client post /orchestra/api/interface/submit_task_assignment/ request content_type application/json N/A assertModelInstanceExists N/A N/A self model_class lookup_attributes check_attributes N/A N/A N/A N/A N/A N/A model_instance N/A N/A N/A model_class objects get lookup_attributes N/A N/A N/A N/A model_class DoesNotExist N/A N/A N/A N/A self fail N/A N/A {} instance not created in database. format N/A str model_class N/A N/A attribute_name expected_value N/A N/A check_attributes items N/A N/A N/A N/A self assertEqual N/A getattr model_instance attribute_name expected_value N/A model_instance N/A assertModelInstanceNotExists N/A N/A self model_class lookup_attributes N/A N/A N/A N/A N/A self assertRaises N/A model_class DoesNotExist N/A N/A N/A N/A N/A model_class objects get lookup_attributes N/A N/A AuthenticatedUserMixin N/A object N/A authenticate_user N/A N/A self N/A N/A N/A request_client N/A RequestClient N/A password test N/A auth_user N/A UserFactory username test_user email test_user@orchestra.com first_name first name last_name last name is_active True password password N/A N/A N/A self assertTrue N/A N/A request_client login username N/A auth_user username password password N/A N/A request_client auth_user N/A N/A OrchestraTestCase N/A OrchestraTestHelpersMixin TestCase N/A N/A N/A N/A override_settings SLACK_STAFFBOT_TOKEN test-token OrchestraTransactionTestCase N/A OrchestraTestHelpersMixin TransactionTestCase N/A N/A N/A N/A override_settings SLACK_STAFFBOT_TOKEN test-token OrchestraAuthenticatedTestCase N/A OrchestraTestCase AuthenticatedUserMixin N/A N/A N/A N/A override_settings SLACK_STAFFBOT_TOKEN test-token