File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -378,12 +378,12 @@ def test_id_getter():
378378 assert len (str (do .id )) == 36
379379
380380
381- def test_id_setter ():
381+ def test_id_setter_error ():
382382 do = DiffractionObject ()
383383 # Attempt to directly modify the property
384384 with pytest .raises (
385385 AttributeError ,
386- match = "Direct modification of attribute 'id' is not allowed. Please use 'insert_scattering_quantity ' to modify 'id'." ,
386+ match = "Direct modification of attribute 'id' is not allowed. Please use 'input_data ' to modify 'id'." ,
387387 ):
388388 do .id = uuid .uuid4 ()
389389
@@ -403,7 +403,7 @@ def test_input_xtype_getter():
403403 assert do .input_xtype == "tth"
404404
405405
406- def test_input_xtype_setter ():
406+ def test_input_xtype_setter_error ():
407407 do = DiffractionObject (xtype = "tth" )
408408
409409 # Attempt to directly modify the property
You can’t perform that action at this time.
0 commit comments