'A ``ValidationError`` is raised if the given control service
hostname is not a valid hostname.'

def test_error_on_invalid_hostname(self):

    self.configuration['control-service']['hostname'] = u'-1'
    self.assertRaises(ValidationError, validate_configuration, self.configuration)
