@@ -89,8 +89,6 @@ def test_multi_file_configuration(tmp_path: Path):
89
89
readme_path .write_text ("MyAwesomeSoftware(TM) v1.0" )
90
90
build_num_path = tmp_path / "BUILD_NUMBER"
91
91
build_num_path .write_text ("1.0.3+joe+38943" )
92
- csv_path = tmp_path / "Version.csv"
93
- csv_path .write_text ("1;1;0;3;joe;38943" )
94
92
95
93
overrides = {
96
94
"current_version" : "1.0.3+joe+38943" ,
@@ -117,13 +115,6 @@ def test_multi_file_configuration(tmp_path: Path):
117
115
"filename" : str (build_num_path ),
118
116
"serialize" : ["{major}.{minor}.{patch}+{$USER}+{$BUILD_NUMBER}" ],
119
117
},
120
- {
121
- "filename" : str (csv_path ),
122
- "parse" : r"(?P<major>\d+);(?P<minor>\d+);(?P<patch>\d+);(?P<user>[0-9A-Za-z]+)?;(?P<build_number>[0-9A-Za-z]+)?" ,
123
- "serialize" : ["{major};{minor};{patch};{$USER};{$BUILD_NUMBER}" ],
124
- "search" : "1;{current_version}" ,
125
- "replace" : "1;{new_version}" ,
126
- },
127
118
],
128
119
}
129
120
conf , version_config , current_version = get_config_data (overrides )
@@ -160,7 +151,6 @@ def test_multi_file_configuration(tmp_path: Path):
160
151
assert maj_vers_path .read_text () == "2"
161
152
assert readme_path .read_text () == "MyAwesomeSoftware(TM) v2.0"
162
153
assert build_num_path .read_text () == "2.0.1+jane+38945"
163
- assert csv_path .read_text () == "1;2;0;1;jane;38945"
164
154
165
155
166
156
def test_issue_14 (tmp_path : Path ):
0 commit comments