def test_absent_when_bucket_does_not_exist(self):
        self.conn.head_bucket.side_effect = [not_found_error, None]
        result = salt_states['boto_s3_bucket.absent']('test', 'mybucket')
        self.assertTrue(result['result'])
        self.assertEqual(result['changes'], {})
Publish to the cheeseshop.
dataset/ETHPy150Open saltstack/salt/tests/unit/states/boto_s3_bucket_test.py/BotoS3BucketTestCase.test_absent_when_bucket_does_not_exist--crossover with--dataset/ETHPy150Open sloria/pypi-cli/tasks.py/publish