Commit 6047a13
authored
GH-783 Fix tests failing on non standard environment (#432)
* fixed tests failing on Bert's computer
* formatting
* remove commented out code
* change .clone() to reference
* fixed test for windows in actions: tilde_in_config_file_path_from_commandline_and_args_uploaded_from_config_file
* target_os for dirs crate used only on windows test
* implementing Bert's review comments - change DirsWrapperMock to DirsWrapperReal and simplifying home_dir creation
* fixing windows data-directory assertion in test tilde_in_config_file_path_from_commandline_and_args_uploaded_from_config_file
* fixing home dir assertion for windows
* add condition to use of dirs crate only for windows
* fixing config toml for windows test tilde_in_config_file_path_from_commandline_and_args_uploaded_from_config_file
* fixed windows test
* formatting
* fixed tilde tests for windows
* remove unnecesary function for finding project root, use of current dir for DirsWrapperMock
* adjusting name of test and removing commented out code1 parent f43dcbe commit 6047a13
File tree
4 files changed
+51
-45
lines changed- node/src
- daemon
- node_configurator
- test_utils
4 files changed
+51
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1226 | 1226 | | |
1227 | 1227 | | |
1228 | 1228 | | |
1229 | | - | |
1230 | 1229 | | |
1231 | 1230 | | |
1232 | 1231 | | |
| |||
1239 | 1238 | | |
1240 | 1239 | | |
1241 | 1240 | | |
| 1241 | + | |
1242 | 1242 | | |
1243 | 1243 | | |
1244 | 1244 | | |
| |||
2046 | 2046 | | |
2047 | 2047 | | |
2048 | 2048 | | |
2049 | | - | |
| 2049 | + | |
2050 | 2050 | | |
2051 | 2051 | | |
2052 | 2052 | | |
2053 | | - | |
| 2053 | + | |
2054 | 2054 | | |
2055 | 2055 | | |
2056 | | - | |
2057 | | - | |
2058 | | - | |
2059 | | - | |
2060 | | - | |
2061 | | - | |
2062 | | - | |
2063 | | - | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
2064 | 2059 | | |
2065 | 2060 | | |
2066 | 2061 | | |
| |||
2082 | 2077 | | |
2083 | 2078 | | |
2084 | 2079 | | |
2085 | | - | |
2086 | | - | |
2087 | | - | |
2088 | | - | |
2089 | | - | |
2090 | | - | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
2091 | 2085 | | |
2092 | 2086 | | |
2093 | 2087 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
128 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
129 | 130 | | |
130 | | - | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| 170 | + | |
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
174 | | - | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
| |||
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
| 221 | + | |
219 | 222 | | |
220 | 223 | | |
221 | 224 | | |
| |||
Lines changed: 25 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
380 | 379 | | |
381 | 380 | | |
382 | 381 | | |
| |||
1075 | 1074 | | |
1076 | 1075 | | |
1077 | 1076 | | |
1078 | | - | |
1079 | | - | |
| 1077 | + | |
1080 | 1078 | | |
1081 | 1079 | | |
1082 | 1080 | | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1086 | 1087 | | |
1087 | 1088 | | |
1088 | 1089 | | |
| |||
1105 | 1106 | | |
1106 | 1107 | | |
1107 | 1108 | | |
1108 | | - | |
1109 | | - | |
1110 | | - | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
1111 | 1113 | | |
1112 | 1114 | | |
1113 | 1115 | | |
1114 | 1116 | | |
1115 | 1117 | | |
1116 | 1118 | | |
1117 | | - | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1118 | 1133 | | |
1119 | 1134 | | |
1120 | 1135 | | |
| |||
1123 | 1138 | | |
1124 | 1139 | | |
1125 | 1140 | | |
1126 | | - | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
1131 | | - | |
1132 | | - | |
1133 | 1141 | | |
1134 | 1142 | | |
1135 | 1143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
1221 | 1223 | | |
1222 | 1224 | | |
1223 | 1225 | | |
1224 | | - | |
1225 | | - | |
1226 | | - | |
1227 | | - | |
1228 | | - | |
1229 | | - | |
1230 | 1226 | | |
1231 | 1227 | | |
1232 | 1228 | | |
1233 | 1229 | | |
1234 | 1230 | | |
1235 | 1231 | | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
1236 | 1237 | | |
1237 | 1238 | | |
1238 | 1239 | | |
| |||
0 commit comments