blob: 4342b8cfc49c84fa1db1917fee92575d958c6ee9 [file] [log] [blame]
Max Rasskazova8db7a92015-05-30 02:23:43 +03001# description format:
2# url:
3# test_function_name_1: expected_result
4# test_function_name_2: [expected, results]
5# test_function_name_3:
6# - expected
7# - results
Max Rasskazovc9a06e92015-06-05 17:57:11 +03008
9
Max Rasskazovba34b142015-06-04 17:12:27 +030010'ubuntu@172.18.66.89:~/':
11 url: 'ubuntu@172.18.66.89:~/'
Max Rasskazovc9a06e92015-06-05 17:57:11 +030012 root: 'ubuntu@172.18.66.89:~/'
Max Rasskazovba34b142015-06-04 17:12:27 +030013 urljoin:
14 null: 'ubuntu@172.18.66.89:~/'
15 '': 'ubuntu@172.18.66.89:~/'
16 '/': 'ubuntu@172.18.66.89:~/'
17 '/first/level/': 'ubuntu@172.18.66.89:~/first/level/'
18 'first/level': 'ubuntu@172.18.66.89:~/first/level'
Max Rasskazov46cc0732015-06-05 19:23:24 +030019 a_dir:
Max Rasskazovba34b142015-06-04 17:12:27 +030020 null: '/'
21 '': '/'
22 '/': '/'
23 '/first/level/': '/first/level/'
24 'first/level': 'first/level/'
Max Rasskazov46cc0732015-06-05 19:23:24 +030025 a_file:
Max Rasskazovba34b142015-06-04 17:12:27 +030026 null: ''
27 '': ''
28 '/': '/'
29 '/first/level/': '/first/level'
30 'first/level': 'first/level'
Max Rasskazovbe9a2772015-06-05 20:15:11 +030031 url_dir:
Max Rasskazovba34b142015-06-04 17:12:27 +030032 null: 'ubuntu@172.18.66.89:~/'
33 '': 'ubuntu@172.18.66.89:~/'
34 '/': 'ubuntu@172.18.66.89:~/'
35 '/first/level/': 'ubuntu@172.18.66.89:~/first/level/'
36 'first/level': 'ubuntu@172.18.66.89:~/first/level/'
Max Rasskazovbe9a2772015-06-05 20:15:11 +030037 url_file:
Max Rasskazovba34b142015-06-04 17:12:27 +030038 null: 'ubuntu@172.18.66.89:~'
39 '': 'ubuntu@172.18.66.89:~'
40 '/': 'ubuntu@172.18.66.89:~'
41 '/first/level/': 'ubuntu@172.18.66.89:~/first/level'
42 'first/level': 'ubuntu@172.18.66.89:~/first/level'
43 exact_match_num: 1
44 classed: 'ssh'
45 parsed:
46 - 'ubuntu'
47 - '172.18.66.89'
48 - '~/'
49 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +030050
51
52'ubuntu@172.18.66.89:':
Max Rasskazov64f77bf2015-06-02 15:22:48 +030053 url: 'ubuntu@172.18.66.89:~'
Max Rasskazovc9a06e92015-06-05 17:57:11 +030054 root: 'ubuntu@172.18.66.89:~/'
Max Rasskazovba34b142015-06-04 17:12:27 +030055 urljoin:
56 null: 'ubuntu@172.18.66.89:~'
57 '': 'ubuntu@172.18.66.89:~'
58 '/': 'ubuntu@172.18.66.89:~/'
59 '/first/level/': 'ubuntu@172.18.66.89:~/first/level/'
60 'first/level': 'ubuntu@172.18.66.89:~/first/level'
Max Rasskazovbe9a2772015-06-05 20:15:11 +030061 url_dir:
Max Rasskazova021f572015-06-04 15:11:13 +030062 null: 'ubuntu@172.18.66.89:~/'
Max Rasskazov2f93dd22015-06-04 14:20:44 +030063 '': 'ubuntu@172.18.66.89:~/'
64 '/': 'ubuntu@172.18.66.89:~/'
65 '/first/level/': 'ubuntu@172.18.66.89:~/first/level/'
66 'first/level': 'ubuntu@172.18.66.89:~/first/level/'
Max Rasskazovbe9a2772015-06-05 20:15:11 +030067 url_file:
Max Rasskazova021f572015-06-04 15:11:13 +030068 null: 'ubuntu@172.18.66.89:~'
Max Rasskazov2f93dd22015-06-04 14:20:44 +030069 '': 'ubuntu@172.18.66.89:~'
70 '/': 'ubuntu@172.18.66.89:~'
71 '/first/level/': 'ubuntu@172.18.66.89:~/first/level'
72 'first/level': 'ubuntu@172.18.66.89:~/first/level'
Max Rasskazova8db7a92015-05-30 02:23:43 +030073 exact_match_num: 1
74 classed: 'ssh'
75 parsed:
76 - 'ubuntu'
77 - '172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +030078 - '~'
Max Rasskazov64f77bf2015-06-02 15:22:48 +030079 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +030080
81
82'ubuntu@172.18.66.89:~':
83 url: 'ubuntu@172.18.66.89:~'
84 root: 'ubuntu@172.18.66.89:~/'
85 urljoin:
86 null: 'ubuntu@172.18.66.89:~'
87 '': 'ubuntu@172.18.66.89:~'
88 '/': 'ubuntu@172.18.66.89:~/'
89 '/first/level/': 'ubuntu@172.18.66.89:~/first/level/'
90 'first/level': 'ubuntu@172.18.66.89:~/first/level'
Max Rasskazovbe9a2772015-06-05 20:15:11 +030091 url_dir:
Max Rasskazovc9a06e92015-06-05 17:57:11 +030092 null: 'ubuntu@172.18.66.89:~/'
93 '': 'ubuntu@172.18.66.89:~/'
94 '/': 'ubuntu@172.18.66.89:~/'
95 '/first/level/': 'ubuntu@172.18.66.89:~/first/level/'
96 'first/level': 'ubuntu@172.18.66.89:~/first/level/'
Max Rasskazovbe9a2772015-06-05 20:15:11 +030097 url_file:
Max Rasskazovc9a06e92015-06-05 17:57:11 +030098 null: 'ubuntu@172.18.66.89:~'
99 '': 'ubuntu@172.18.66.89:~'
100 '/': 'ubuntu@172.18.66.89:~'
101 '/first/level/': 'ubuntu@172.18.66.89:~/first/level'
102 'first/level': 'ubuntu@172.18.66.89:~/first/level'
103 exact_match_num: 1
104 classed: 'ssh'
105 parsed:
106 - 'ubuntu'
107 - '172.18.66.89'
108 - '~'
109 valid: True
110
111
112'ubuntu@172.18.66.89:~/sub/dir/':
113 url: 'ubuntu@172.18.66.89:~/sub/dir/'
114 root: 'ubuntu@172.18.66.89:~/'
115 urljoin:
116 null: 'ubuntu@172.18.66.89:~/sub/dir/'
117 '': 'ubuntu@172.18.66.89:~/sub/dir/'
118 '/': 'ubuntu@172.18.66.89:~/sub/dir/'
119 '/first/level/': 'ubuntu@172.18.66.89:~/sub/dir/first/level/'
120 'first/level': 'ubuntu@172.18.66.89:~/sub/dir/first/level'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300121 url_dir:
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300122 null: 'ubuntu@172.18.66.89:~/sub/dir/'
123 '': 'ubuntu@172.18.66.89:~/sub/dir/'
124 '/': 'ubuntu@172.18.66.89:~/sub/dir/'
125 '/first/level/': 'ubuntu@172.18.66.89:~/sub/dir/first/level/'
126 'first/level': 'ubuntu@172.18.66.89:~/sub/dir/first/level/'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300127 url_file:
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300128 null: 'ubuntu@172.18.66.89:~/sub/dir'
129 '': 'ubuntu@172.18.66.89:~/sub/dir'
130 '/': 'ubuntu@172.18.66.89:~/sub/dir'
131 '/first/level/': 'ubuntu@172.18.66.89:~/sub/dir/first/level'
132 'first/level': 'ubuntu@172.18.66.89:~/sub/dir/first/level'
133 exact_match_num: 1
134 classed: 'ssh'
135 parsed:
136 - 'ubuntu'
137 - '172.18.66.89'
138 - '~/sub/dir/'
139 valid: True
140
141
142'ubuntu@172.18.66.89:~/sub/dir':
143 url: 'ubuntu@172.18.66.89:~/sub/dir'
144 root: 'ubuntu@172.18.66.89:~/'
145 urljoin:
146 null: 'ubuntu@172.18.66.89:~/sub/dir'
147 '': 'ubuntu@172.18.66.89:~/sub/dir'
148 '/': 'ubuntu@172.18.66.89:~/sub/dir/'
149 '/first/level/': 'ubuntu@172.18.66.89:~/sub/dir/first/level/'
150 'first/level': 'ubuntu@172.18.66.89:~/sub/dir/first/level'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300151 url_dir:
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300152 null: 'ubuntu@172.18.66.89:~/sub/dir/'
153 '': 'ubuntu@172.18.66.89:~/sub/dir/'
154 '/': 'ubuntu@172.18.66.89:~/sub/dir/'
155 '/first/level/': 'ubuntu@172.18.66.89:~/sub/dir/first/level/'
156 'first/level': 'ubuntu@172.18.66.89:~/sub/dir/first/level/'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300157 url_file:
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300158 null: 'ubuntu@172.18.66.89:~/sub/dir'
159 '': 'ubuntu@172.18.66.89:~/sub/dir'
160 '/': 'ubuntu@172.18.66.89:~/sub/dir'
161 '/first/level/': 'ubuntu@172.18.66.89:~/sub/dir/first/level'
162 'first/level': 'ubuntu@172.18.66.89:~/sub/dir/first/level'
163 exact_match_num: 1
164 classed: 'ssh'
165 parsed:
166 - 'ubuntu'
167 - '172.18.66.89'
168 - '~/sub/dir'
169 valid: True
170
171
172'ubuntu@172.18.66.89:/':
173 url: 'ubuntu@172.18.66.89:/'
174 root: 'ubuntu@172.18.66.89:/'
175 urljoin:
176 null: 'ubuntu@172.18.66.89:/'
177 '': 'ubuntu@172.18.66.89:/'
178 '/': 'ubuntu@172.18.66.89:/'
179 '/first/level/': 'ubuntu@172.18.66.89:/first/level/'
180 'first/level': 'ubuntu@172.18.66.89:/first/level'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300181 url_dir:
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300182 null: 'ubuntu@172.18.66.89:/'
183 '': 'ubuntu@172.18.66.89:/'
184 '/': 'ubuntu@172.18.66.89:/'
185 '/first/level/': 'ubuntu@172.18.66.89:/first/level/'
186 'first/level': 'ubuntu@172.18.66.89:/first/level/'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300187 url_file:
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300188 null: 'ubuntu@172.18.66.89:/'
189 '': 'ubuntu@172.18.66.89:/'
190 '/': 'ubuntu@172.18.66.89:/'
191 '/first/level/': 'ubuntu@172.18.66.89:/first/level'
192 'first/level': 'ubuntu@172.18.66.89:/first/level'
193 exact_match_num: 1
194 classed: 'ssh'
195 parsed:
196 - 'ubuntu'
197 - '172.18.66.89'
198 - '/'
199 valid: True
200
201
Max Rasskazova8db7a92015-05-30 02:23:43 +0300202'johnivanov@172.18.66.89:/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300203 url: 'johnivanov@172.18.66.89:/mirror-sync/otlichniy/reg/exp'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300204 root: 'johnivanov@172.18.66.89:/'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300205 exact_match_num: 1
206 classed: 'ssh'
207 parsed:
208 - 'johnivanov'
209 - '172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300210 - '/mirror-sync/otlichniy/reg/exp'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300211 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300212
213
Max Rasskazova8db7a92015-05-30 02:23:43 +0300214'172.18.66.89:/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300215 url: '172.18.66.89:/mirror-sync/otlichniy/reg/exp'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300216 root: '172.18.66.89:/'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300217 exact_match_num: 1
218 classed: 'ssh'
219 parsed:
220 - null
221 - '172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300222 - '/mirror-sync/otlichniy/reg/exp'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300223 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300224
225
Max Rasskazova8db7a92015-05-30 02:23:43 +0300226'172.18.66.89:/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300227 url: '172.18.66.89:/'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300228 root: '172.18.66.89:/'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300229 exact_match_num: 1
230 classed: 'ssh'
231 parsed:
232 - null
233 - '172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300234 - '/'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300235 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300236
237
Max Rasskazova8db7a92015-05-30 02:23:43 +0300238'172.18.66.89:':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300239 url: '172.18.66.89:'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300240 root: '172.18.66.89:~/'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300241 exact_match_num: 1
242 classed: 'ssh'
243 parsed:
244 - null
245 - '172.18.66.89'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300246 - '~'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300247 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300248
249 # TODO: check tests behind (rsync1, rsync2 and path)
250
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300251'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp':
252 url: 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300253 root: 'johnivanov@172.18.66.89::mirror-sync/'
Max Rasskazovba34b142015-06-04 17:12:27 +0300254 urljoin:
255 null: 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp'
256 '': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp'
257 '/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/'
258 '/first/level/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level/'
259 'first/level': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300260 url_dir:
Max Rasskazova021f572015-06-04 15:11:13 +0300261 null: 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/'
Max Rasskazov2f93dd22015-06-04 14:20:44 +0300262 '': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/'
263 '/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/'
264 '/first/level/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level/'
265 'first/level': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level/'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300266 url_file:
Max Rasskazova021f572015-06-04 15:11:13 +0300267 null: 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp'
Max Rasskazov2f93dd22015-06-04 14:20:44 +0300268 '': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp'
269 '/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp'
270 '/first/level/': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level'
271 'first/level': 'johnivanov@172.18.66.89::mirror-sync/otlichniy/reg/exp/first/level'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300272 exact_match_num: 1
273 classed: 'rsync1'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300274 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300275 - 'johnivanov'
276 - '172.18.66.89'
277 - null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300278 - 'mirror-sync'
279 - '/otlichniy/reg/exp'
280 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300281
282
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300283'172.18.66.89::mirror-sync/otlichniy/reg/exp':
284 url: '172.18.66.89::mirror-sync/otlichniy/reg/exp'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300285 root: '172.18.66.89::mirror-sync/'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300286 exact_match_num: 1
287 classed: 'rsync1'
288 parsed_rsync:
289 - null
290 - '172.18.66.89'
291 - null
292 - 'mirror-sync'
293 - '/otlichniy/reg/exp'
294 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300295
296
297'172.18.66.89::mirror-sync/':
298 url: '172.18.66.89::mirror-sync/'
299 root: '172.18.66.89::mirror-sync/'
300 exact_match_num: 1
301 classed: 'rsync1'
302 parsed_rsync:
303 - null
304 - '172.18.66.89'
305 - null
306 - 'mirror-sync'
307 - '/'
308 valid: True
309
310
311'172.18.66.89::mirror-sync':
312 url: '172.18.66.89::mirror-sync'
313 root: '172.18.66.89::mirror-sync/'
314 exact_match_num: 1
315 classed: 'rsync1'
316 parsed_rsync:
317 - null
318 - '172.18.66.89'
319 - null
320 - 'mirror-sync'
321 - '/'
322 valid: True
323
324
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300325'johnivanov@172.18.66.89::/mirror-sync/otlichniy/reg/exp':
326 url: 'johnivanov@172.18.66.89::/mirror-sync/otlichniy/reg/exp'
327 exact_match_num: 0
328 classed: null
329 valid: False
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300330
331
Max Rasskazova8db7a92015-05-30 02:23:43 +0300332'172.18.66.89::/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300333 url: '172.18.66.89::/mirror-sync/otlichniy/reg/exp'
334 exact_match_num: 0
335 classed: null
336 valid: False
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300337
338
Max Rasskazova8db7a92015-05-30 02:23:43 +0300339'172.18.66.89::/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300340 url: '172.18.66.89::/'
341 exact_match_num: 0
342 classed: null
343 valid: False
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300344
345
Max Rasskazova8db7a92015-05-30 02:23:43 +0300346'172.18.66.89::':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300347 url: '172.18.66.89::'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300348 exact_match_num: 1
349 classed: 'rsync1'
350 parsed_rsync:
351 - null
352 - '172.18.66.89'
353 - null
354 - null
355 - '/'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300356 valid: False
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300357
358
359
Max Rasskazova8db7a92015-05-30 02:23:43 +0300360'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300361 url: 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300362 root: 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
Max Rasskazovba34b142015-06-04 17:12:27 +0300363 urljoin:
364 null: 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
365 '': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
366 '/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/'
367 '/first/level/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level/'
368 'first/level': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300369 url_dir:
Max Rasskazova021f572015-06-04 15:11:13 +0300370 null: 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/'
Max Rasskazov2f93dd22015-06-04 14:20:44 +0300371 '': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/'
372 '/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/'
373 '/first/level/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level/'
374 'first/level': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level/'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300375 url_file:
Max Rasskazova021f572015-06-04 15:11:13 +0300376 null: 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
Max Rasskazov2f93dd22015-06-04 14:20:44 +0300377 '': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
378 '/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp'
379 '/first/level/': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level'
380 'first/level': 'rsync://mirror-sync@172.18.66.89:7327/otlichniy/reg/exp/first/level'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300381 exact_match_num: 1
382 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300383 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300384 - 'mirror-sync'
385 - '172.18.66.89'
386 - 7327
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300387 - 'otlichniy'
388 - '/reg/exp'
389 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300390
391
Max Rasskazova8db7a92015-05-30 02:23:43 +0300392'rsync://172.18.66.89:7327/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300393 url: 'rsync://172.18.66.89:7327/mirror-sync/otlichniy/reg/exp'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300394 root: 'rsync://172.18.66.89:7327/mirror-sync/otlichniy/reg/exp'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300395 exact_match_num: 1
396 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300397 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300398 - null
399 - '172.18.66.89'
400 - 7327
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300401 - 'mirror-sync'
402 - '/otlichniy/reg/exp'
403 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300404
405
Max Rasskazova8db7a92015-05-30 02:23:43 +0300406'rsync://172.18.66.89/mirror-sync/otlichniy/reg/exp':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300407 url: 'rsync://172.18.66.89/mirror-sync/otlichniy/reg/exp'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300408 root: 'rsync://172.18.66.89/mirror-sync/otlichniy/reg/exp'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300409 exact_match_num: 1
410 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300411 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300412 - null
413 - '172.18.66.89'
414 - null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300415 - 'mirror-sync'
416 - '/otlichniy/reg/exp'
417 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300418
419
420'rsync://172.18.66.89/mirror-sync/':
421 url: 'rsync://172.18.66.89/mirror-sync/'
422 root: 'rsync://172.18.66.89/mirror-sync/'
423 exact_match_num: 1
424 classed: 'rsync2'
425 parsed_rsync:
426 - null
427 - '172.18.66.89'
428 - null
429 - 'mirror-sync'
430 - '/'
431 valid: True
432
433
Max Rasskazova8db7a92015-05-30 02:23:43 +0300434'rsync://172.18.66.89/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300435 url: 'rsync://172.18.66.89/'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300436 root: 'rsync://172.18.66.89/'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300437 exact_match_num: 1
438 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300439 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300440 - null
441 - '172.18.66.89'
442 - null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300443 - null
444 - ''
445 valid: False
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300446
447
Max Rasskazova8db7a92015-05-30 02:23:43 +0300448'rsync://172.18.66.89':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300449 url: 'rsync://172.18.66.89'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300450 root: 'rsync://172.18.66.89'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300451 exact_match_num: 1
452 classed: 'rsync2'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300453 parsed_rsync:
Max Rasskazova8db7a92015-05-30 02:23:43 +0300454 - null
455 - '172.18.66.89'
456 - null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300457 - null
458 - ''
459 valid: False
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300460
461
Max Rasskazova8db7a92015-05-30 02:23:43 +0300462'/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300463 url: '/'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300464 root: '/'
Max Rasskazovba34b142015-06-04 17:12:27 +0300465 urljoin:
466 null: '/'
467 '': '/'
468 '/': '/'
469 '/first/level/': '/first/level/'
470 'first/level': '/first/level'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300471 url_dir:
Max Rasskazova021f572015-06-04 15:11:13 +0300472 null: '/'
Max Rasskazov2f93dd22015-06-04 14:20:44 +0300473 '': '/'
474 '/': '/'
475 '/first/level/': '/first/level/'
476 'first/level': '/first/level/'
Max Rasskazovbe9a2772015-06-05 20:15:11 +0300477 url_file:
Max Rasskazova021f572015-06-04 15:11:13 +0300478 null: '/'
Max Rasskazov2f93dd22015-06-04 14:20:44 +0300479 '': '/'
480 '/': '/'
481 '/first/level/': '/first/level'
482 'first/level': '/first/level'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300483 exact_match_num: 1
484 classed: 'path'
485 parsed:
486 - null
487 - null
Max Rasskazova8db7a92015-05-30 02:23:43 +0300488 - '/'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300489 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300490
491
Max Rasskazova8db7a92015-05-30 02:23:43 +0300492'dir':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300493 url: 'dir'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300494 root: 'dir'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300495 exact_match_num: 1
496 classed: 'path'
497 parsed:
498 - null
499 - null
Max Rasskazova8db7a92015-05-30 02:23:43 +0300500 - 'dir'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300501 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300502
503
Max Rasskazova8db7a92015-05-30 02:23:43 +0300504'/dir':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300505 url: '/dir'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300506 root: '/dir'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300507 exact_match_num: 1
508 classed: 'path'
509 parsed:
510 - null
511 - null
Max Rasskazova8db7a92015-05-30 02:23:43 +0300512 - '/dir'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300513 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300514
515
Max Rasskazova8db7a92015-05-30 02:23:43 +0300516'/dir/subdir/':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300517 url: '/dir/subdir/'
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300518 root: '/dir/subdir/'
Max Rasskazova8db7a92015-05-30 02:23:43 +0300519 exact_match_num: 1
520 classed: 'path'
521 parsed:
522 - null
523 - null
Max Rasskazova8db7a92015-05-30 02:23:43 +0300524 - '/dir/subdir/'
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300525 valid: True
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300526
527
Max Rasskazova8db7a92015-05-30 02:23:43 +0300528'':
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300529 url: ''
Max Rasskazovc9a06e92015-06-05 17:57:11 +0300530 root: ''
Max Rasskazova8db7a92015-05-30 02:23:43 +0300531 exact_match_num: 0
532 classed: null
Max Rasskazov64f77bf2015-06-02 15:22:48 +0300533 valid: False