def test_create_index_interface_factory_method_with_empty_hosts(self): interface = create_index_interface()
def test_create_index_interface_factory_method_with_no_index(self): interface = create_index_interface()
def test_index_interface_factory_method_failed_without_required_info(self): interface = create_index_interface()
def test_index_interface_factory_method_failed_with_no_hosts(self): interface = create_index_interface()
def test_create_index_interface_factory_method_with_valid_arguments(self): interface = create_index_interface() self.assertIsInstance(interface, IndexInterface) self.assertEqual(interface._default_index, "index_name")