Skip to content
Snippets Groups Projects
Commit ae35fe76 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Add test to expose #265

parent cbd838c6
No related branches found
No related tags found
1 merge request!1468Fix missing Property name in error messages
#####################################################################################
# (c) Copyright 2023 CERN for the benefit of the LHCb and ATLAS collaborations #
# #
# This software is distributed under the terms of the Apache version 2 licence, #
# copied verbatim in the file "LICENSE". #
# #
# In applying this licence, CERN does not waive the privileges and immunities #
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
#####################################################################################
import pytest
def test_1():
from GaudiConfig2.Configurables.TestConf import AlgWithVectors
alg = AlgWithVectors()
with pytest.raises(TypeError, match=r"cannot set property VS .*"):
alg.VS = [3]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment