-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
In this issue, Matt recommended i add an xfail to test_several_variables_put as it was failing after the asserts were changed from mock_put.has_call to mock_put.assert_has_calls which was needed for the move from python 3.10 to 3.12. So this issue is for investigation of that.
Error output from the test:
TestMoosePut::test_several_variables_put - AssertionError: Calls not found.
E AssertionError: Calls not found.
E Expected: [call(<cdds.deprecated.transfer.drs.DataRefSyntax object at 0x7f89f8086810>, 'fake_local_top/GEOMIP/MOHC/HadGEM2-ES/G4seaSalt/r1i1p1', 'moose:fake/moose/dir/geomip/output/MOHC/HadGEM2-ES/G4seaSalt/mon/atmos/aero/r1i1p1/cdnc/embargoed/v20260119', <cdds.deprecated.transfer.drs.DataRefSyntax object at 0x7f89f8086810>, 'fake_local_top/GEOMIP/MOHC/HadGEM2-ES/G4seaSalt/r1i1p1', <function put at 0x7f89f810fe20>),
E call(<cdds.deprecated.transfer.drs.DataRefSyntax object at 0x7f89f8145b50>, 'fake_local_top/GEOMIP/MOHC/HadGEM2-ES/G4seaSalt/r1i1p1', 'moose:fake/moose/dir/geomip/output/MOHC/HadGEM2-ES/G4seaSalt/mon/land/Lmon/r1i1p1/cLeaf/embargoed/v20260119', <cdds.deprecated.transfer.drs.DataRefSyntax object at 0x7f89f8145b50>, 'fake_local_top/GEOMIP/MOHC/HadGEM2-ES/G4seaSalt/r1i1p1', <function put at 0x7f89f810fe20>)]
E Actual: [call(<cdds.deprecated.transfer.drs.DataRefSyntax object at 0x7f89f8086810>, 'fake_local_top/GEOMIP/MOHC/HadGEM2-ES/G4seaSalt/r1i1p1/nc', 'moose:fake/moose/dir/geomip/output/MOHC/HadGEM2-ES/G4seaSalt/mon/atmos/aero/r1i1p1/cdnc/embargoed/v20260119', <function put at 0x7f89f810fe20>),
E call(<cdds.deprecated.transfer.drs.DataRefSyntax object at 0x7f89f8145b50>, 'fake_local_top/GEOMIP/MOHC/HadGEM2-ES/G4seaSalt/r1i1p1/nc', 'moose:fake/moose/dir/geomip/output/MOHC/HadGEM2-ES/G4seaSalt/mon/land/Lmon/r1i1p1/cLeaf/embargoed/v20260119', <function put at 0x7f89f810fe20>)]
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right