def test_that_when_creating_a_domain_fails_the_create_domain_method_returns_error(self):
        self.conn.create_elasticsearch_domain.side_effect = ClientError(error_content, 'create_domain')
        args = copy.copy(domain_ret)
        args.update(conn_parameters)
        result = boto_elasticsearch_domain.create(**args)
        self.assertEqual(result.get('error', {}).get('message'), error_message.format('create_domain'))
This method populates the database with some information to be used
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/boto_elasticsearch_domain_test.py/BotoElasticsearchDomainTestCase.test_that_when_creating_a_domain_fails_the_create_domain_method_returns_error--crossover with--dataset/ETHPy150Open satnet-project/server/services/scheduling/tests/test_signals.py/SchedulingSignalsTest.setUp