summaryrefslogtreecommitdiff
path: root/cloudinit/net/tests/test_network_state.py
AgeCommit message (Collapse)Author
2020-04-03net: ignore 'renderer' key in netplan config (#306)Ryan Harper
LP: #1870421
2020-01-29Replace mock library with unittest.mock (#186)Daniel Watkins
* cloudinit: replace "import mock" with "from unittest import mock" * test-requirements.txt: drop mock Co-authored-by: Chad Smith <chad.smith@canonical.com>
2019-12-06network_state: handle empty v1 config (#45)Ryan Harper
Sending a valid but empty v1 network config resulted in a stacktrace during execution. Update the network_state parse path to specific check if the 'config' key is None (not present) versus being present but explicitly empty. Also add some network_state unittests. LP: #1852496