def test_defaults(self):
        action = AdvancedOpenCaseAction.wrap({
            'case_type': 'spam',
            'case_tag': 'ham',
            'parent_tag': 'eggs',
        })
        self.assertEqual(action.case_indices[0].reference_id, 'parent')
        self.assertEqual(action.case_indices[0].relationship, 'child')
Signal handler to log the stack trace of the current thread.
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/app_manager/tests/test_extension_case.py/AdvancedOpenCaseActionMigrationTests.test_defaults--crossover with--dataset/ETHPy150Open felipecruz/zmqpy/zmqpy/eventloop/ioloop.py/IOLoop.log_stack