Repository navigation
Commit 43c82b3
committed
test: add upload/download instance method and UploadFileResult branch tests
Add 11 new test classes covering OswExpress.upload_file/download_file
instance methods, UploadFileResult branches (LFC source, URL domain
extraction, env var domain, target_fpt meta/change_id, osw_express from
source controller, invalid source type), and import_with_fallback wiki
fallback path. Fix bug in upload_file() where locals() caused duplicate
keyword args. Coverage for express.py increased from 79% to 90%.1 parent e92d47e commit 43c82b3
2 files changed
Lines changed: 438 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
310 | 313 | | |
311 | 314 | | |
312 | 315 | | |
| |||
0 commit comments