def test_absent_when_topic_rule_does_not_exist(self):
        self.conn.get_topic_rule.side_effect = topic_rule_not_found_error
        result = salt_states['boto_iot.topic_rule_absent']('test', 'myrule')
        self.assertTrue(result['result'])
        self.assertEqual(result['changes'], {})
Tests absent on a topic rule that does not exist.
dataset/ETHPy150Open saltstack/salt/tests/unit/states/boto_iot_test.py/BotoIoTTopicRuleTestCase.test_absent_when_topic_rule_does_not_exist