Commit e486441
committed
Add WebDAV support to storage-cli client and improve test quality
Enable WebDAV/DAV provider support in StorageCliClient by adding 'dav'
to STORAGE_CLI_TYPES and mapping legacy 'webdav' provider name to 'dav'.
Test improvements:
- Add comprehensive tests for all legacy provider mappings (AzureRM,
AWS, Google, aliyun, webdav)
- Add test for native 'dav' storage-cli type
- Use begin/ensure blocks to prevent tempfile leaks on test failures
- Add helper methods (write_config_file, stub_config_for_droplets) to
reduce repetition
- Stub additional_flags in #run_cli tests for stability
- Fix test descriptions for accuracy1 parent 1306e1c commit e486441
2 files changed
Lines changed: 230 additions & 179 deletions
File tree
- lib/cloud_controller/blobstore/storage_cli
- spec/unit/lib/cloud_controller/blobstore/storage_cli
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 42 | | |
47 | 43 | | |
48 | 44 | | |
| |||
0 commit comments