@@ -73,7 +73,7 @@ def test_update_txconfig_resources_with_config(home_in_temp, temp):
73
73
74
74
data = (tx_dir / 'config' ).text ()
75
75
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 )
77
77
78
78
79
79
def 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):
96
96
97
97
data = (tx_dir / 'config' ).text ().replace ('\\ ' , '/' )
98
98
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 )
100
100
assert re .search (r'source_file\W*=\W*_build/locale/README.pot' , data )
101
101
102
102
@@ -120,7 +120,7 @@ def test_update_txconfig_resources_with_project_name_including_dots(home_in_temp
120
120
121
121
data = (tx_dir / 'config' ).text ()
122
122
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 )
124
124
125
125
126
126
def 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
143
143
144
144
data = (tx_dir / 'config' ).text ()
145
145
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 )
147
147
148
148
149
149
def 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,
174
174
data = (tx_dir / 'config' ).text ()
175
175
assert re .search (r'\[o:eggs-org:p:ham-project-com:r:example_document\]' , data )
176
176
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 )
179
179
180
180
181
181
def 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
203
203
204
204
data = (tx_dir / 'config' ).text ()
205
205
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