@@ -37,7 +37,7 @@ def default(tmp_path,res_path):
3737@pytest .fixture
3838def single_phase (tmp_path ,res_path ):
3939 """Single phase Result file in temp location for modification."""
40- fname = '6grains6x7x8_single_phase_tensionY .hdf5'
40+ fname = '6grains6x7x8_tensionY_singlePhase .hdf5'
4141 shutil .copy (res_path / fname ,tmp_path )
4242 return Result (tmp_path / fname )
4343
@@ -447,7 +447,7 @@ def test_coordinates(self,default,mode):
447447 @pytest .mark .parametrize ('output' ,['F' ,'*' ,['P' ],['P' ,'F' ]],ids = range (4 ))
448448 @pytest .mark .parametrize ('fname' ,['12grains6x7x8_tensionY.hdf5' ,
449449 '4grains2x4x3_compressionY.hdf5' ,
450- '6grains6x7x8_single_phase_tensionY .hdf5' ],ids = range (3 ))
450+ '6grains6x7x8_tensionY_singlePhase .hdf5' ],ids = range (3 ))
451451 @pytest .mark .parametrize ('inc' ,[4 ,0 ],ids = range (2 ))
452452 @pytest .mark .xfail (vtkVersion .GetVTKMajorVersion ()< 9 , reason = 'missing "Direction" attribute' )
453453 def test_export_vtk (self ,request ,tmp_path ,res_path ,update ,patch_execution_stamp ,patch_datetime_now ,output ,fname ,inc ):
@@ -669,7 +669,7 @@ def test_export_simulation_setup_content(self,res_path,tmp_path,default,output):
669669 assert open (tmp_path / output ).read () == open (res_path / output ).read ()
670670
671671 @pytest .mark .parametrize ('fname' ,['4grains2x4x3_compressionY.hdf5' ,
672- '6grains6x7x8_single_phase_tensionY .hdf5' ])
672+ '6grains6x7x8_tensionY_singlePhase .hdf5' ])
673673 @pytest .mark .parametrize ('output' ,['material.yaml' ,'*' ])
674674 def test_export_simulation_setup_consistency (self ,res_path ,tmp_path ,fname ,output ):
675675 r = Result (res_path / fname )
@@ -691,7 +691,7 @@ def test_export_simulation_setup_custom_path(self,res_path,tmp_path):
691691 assert 'material.yaml' in os .listdir (absdir ); (absdir / 'material.yaml' ).unlink ()
692692
693693 @pytest .mark .parametrize ('fname' ,['4grains2x4x3_compressionY.hdf5' ,
694- '6grains6x7x8_single_phase_tensionY .hdf5' ,
694+ '6grains6x7x8_tensionY_singlePhase .hdf5' ,
695695 '12grains6x7x8_tensionY.hdf5' ,
696696 'check_compile_job1.hdf5' ,])
697697 def test_export_DADF5 (self ,np_rng ,res_path ,tmp_path ,fname ):
@@ -705,14 +705,14 @@ def test_export_DADF5(self,np_rng,res_path,tmp_path,fname):
705705 assert str (r .place ()) == str (r_exp .place ())
706706
707707 @pytest .mark .parametrize ('fname' ,['4grains2x4x3_compressionY.hdf5' ,
708- '6grains6x7x8_single_phase_tensionY .hdf5' ])
708+ '6grains6x7x8_tensionY_singlePhase .hdf5' ])
709709 def test_export_DADF5_name_clash (self ,res_path ,tmp_path ,fname ):
710710 r = Result (res_path / fname )
711711 with pytest .raises (PermissionError ):
712712 r .export_DADF5 (r .fname )
713713
714714 @pytest .mark .parametrize ('fname' ,['4grains2x4x3_compressionY.hdf5' ,
715- '6grains6x7x8_single_phase_tensionY .hdf5' ,
715+ '6grains6x7x8_tensionY_singlePhase .hdf5' ,
716716 '12grains6x7x8_tensionY.hdf5' ])
717717 def test_export_DADF5_regrid (self ,res_path ,tmp_path ,fname ):
718718 r = Result (res_path / fname )
0 commit comments