def test_put_no_pack_info(self):
        post_resp = self.__do_post(TestRuleController.RULE_1)
        test_rule = post_resp.json
        if 'pack' in test_rule:
            del test_rule['pack']
        self.assertTrue('pack' not in test_rule)
        put_resp = self.__do_put(self.__get_rule_id(post_resp), test_rule)
        self.assertEqual(put_resp.json['pack'], DEFAULT_PACK_NAME)
        self.assertEqual(put_resp.status_int, http_client.OK)
        self.__do_delete(self.__get_rule_id(put_resp))
dataset/ETHPy150Open StackStorm/st2/st2api/tests/unit/controllers/v1/test_rules.py/TestRuleController.test_put_no_pack_info/original