Commit 94b6f3d
authored
Merge pull request #798 from cderici/base-argument-for-model-deploy
#798
#### Description
This adds the `base` argument to the `model.Deploy()`, in accordance with the upcoming Juju `3.1`.
#### QA Steps
Adds a unit test for the new `parse_base_arg` utility and an integration test for deploying with base, so the following tests should be passing:
```
tox -e py3 -- tests/unit/test_utils.py::TestBaseArgument::test_parse_base_arg
```
```
tox -e integration -- tests/integration/test_model.py::test_deploy_with_base
```4 files changed
Lines changed: 45 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1604 | 1604 | | |
1605 | 1605 | | |
1606 | 1606 | | |
1607 | | - | |
| 1607 | + | |
1608 | 1608 | | |
1609 | 1609 | | |
1610 | 1610 | | |
| |||
1620 | 1620 | | |
1621 | 1621 | | |
1622 | 1622 | | |
1623 | | - | |
| 1623 | + | |
1624 | 1624 | | |
1625 | | - | |
| 1625 | + | |
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
| |||
1675 | 1675 | | |
1676 | 1676 | | |
1677 | 1677 | | |
| 1678 | + | |
| 1679 | + | |
| 1680 | + | |
1678 | 1681 | | |
1679 | 1682 | | |
1680 | 1683 | | |
1681 | | - | |
| 1684 | + | |
1682 | 1685 | | |
1683 | 1686 | | |
1684 | 1687 | | |
| |||
1698 | 1701 | | |
1699 | 1702 | | |
1700 | 1703 | | |
1701 | | - | |
| 1704 | + | |
1702 | 1705 | | |
1703 | 1706 | | |
1704 | 1707 | | |
1705 | | - | |
| 1708 | + | |
| 1709 | + | |
1706 | 1710 | | |
1707 | 1711 | | |
1708 | 1712 | | |
| |||
1718 | 1722 | | |
1719 | 1723 | | |
1720 | 1724 | | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | 1725 | | |
1725 | 1726 | | |
1726 | 1727 | | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
1730 | 1732 | | |
1731 | 1733 | | |
1732 | 1734 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
403 | 404 | | |
404 | 405 | | |
405 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
339 | 347 | | |
340 | 348 | | |
341 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments