Commit 1977c3b
authored
add_entry: Allow None for title, username, password (#430)
* tests: Add a test with `None` as title, username, password
According to the docs, these parameters can also be passed None, in practice
that failed. Add a test that passed in None parameters, which fails before the
next commit that will allow these and passes after.
* add_entry: Allow `None` for title, username, password
Our docs allow None, so make it so. None gets translated to an empty string
in the XML. There is a corresponding test which tests this case.
Fixes: #4161 parent a3ad4f9 commit 1977c3b
2 files changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
511 | 511 | | |
512 | 512 | | |
513 | 513 | | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
514 | 527 | | |
515 | 528 | | |
516 | 529 | | |
| |||
0 commit comments