'The control service agent\'s port must be an integer.'

def test_error_on_invalid_port(self):

    self.configuration['control-service']['port'] = 1.1
    self.assertRaises(ValidationError, validate_configuration, self.configuration)
