@@ -73,7 +73,7 @@ def test_update_txconfig_resources_with_config(home_in_temp, temp):
7373
7474 data = (tx_dir / 'config' ).text ()
7575 assert re .search (r'\[o:eggs-org:p:ham-project:r:README\]' , data )
76- assert re .search (r'\nresource_name = README\n' , data )
76+ assert re .search (r'\nresource_name + = README\n' , data )
7777
7878
7979def test_update_txconfig_resources_with_pot_dir_argument (home_in_temp , temp ):
@@ -96,7 +96,7 @@ def test_update_txconfig_resources_with_pot_dir_argument(home_in_temp, temp):
9696
9797 data = (tx_dir / 'config' ).text ().replace ('\\ ' , '/' )
9898 assert re .search (r'\[o:eggs-org:p:ham-project:r:README\]' , data )
99- assert re .search (r'\nresource_name = README\n' , data )
99+ assert re .search (r'\nresource_name + = README\n' , data )
100100 assert re .search (r'source_file\W*=\W*_build/locale/README.pot' , data )
101101
102102
@@ -120,7 +120,7 @@ def test_update_txconfig_resources_with_project_name_including_dots(home_in_temp
120120
121121 data = (tx_dir / 'config' ).text ()
122122 assert re .search (r'\[o:eggs-org:p:ham-projectcom:r:README\]' , data )
123- assert re .search (r'\nresource_name = README\n' , data )
123+ assert re .search (r'\nresource_name + = README\n' , data )
124124
125125
126126def test_update_txconfig_resources_with_project_name_including_spaces (home_in_temp , temp ):
@@ -143,7 +143,7 @@ def test_update_txconfig_resources_with_project_name_including_spaces(home_in_te
143143
144144 data = (tx_dir / 'config' ).text ()
145145 assert re .search (r'\[o:eggs-org:p:ham-project-com:r:README\]' , data )
146- assert re .search (r'\nresource_name = README\n' , data )
146+ assert re .search (r'\nresource_name + = README\n' , data )
147147
148148
149149def test_update_txconfig_resources_with_potfile_including_symbols (home_in_temp , temp ):
@@ -174,8 +174,8 @@ def test_update_txconfig_resources_with_potfile_including_symbols(home_in_temp,
174174 data = (tx_dir / 'config' ).text ()
175175 assert re .search (r'\[o:eggs-org:p:ham-project-com:r:example_document\]' , data )
176176 assert re .search (r'\[o:eggs-org:p:ham-project-com:r:test_document\]' , data )
177- assert re .search (r'\nresource_name = example_document\n' , data )
178- assert re .search (r'\nresource_name = test_document\n' , data )
177+ assert re .search (r'\nresource_name + = example_document\n' , data )
178+ assert re .search (r'\nresource_name + = test_document\n' , data )
179179
180180
181181def test_update_txconfig_resources_with_potfile_including_path_separators (home_in_temp , temp ):
@@ -203,4 +203,4 @@ def test_update_txconfig_resources_with_potfile_including_path_separators(home_i
203203
204204 data = (tx_dir / 'config' ).text ()
205205 assert re .search (r'\[o:eggs-org:p:ham-project-com:r:example--document\]' , data )
206- assert re .search (r'\nresource_name = example--document\n' , data )
206+ assert re .search (r'\nresource_name + = example--document\n' , data )
0 commit comments