summaryrefslogtreecommitdiff
path: root/cloudinit/tests/test_upgrade.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/tests/test_upgrade.py')
-rw-r--r--cloudinit/tests/test_upgrade.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cloudinit/tests/test_upgrade.py b/cloudinit/tests/test_upgrade.py
index f79a2536..05eefd2a 100644
--- a/cloudinit/tests/test_upgrade.py
+++ b/cloudinit/tests/test_upgrade.py
@@ -43,3 +43,6 @@ class TestUpgrade:
def test_blacklist_drivers_set_on_networking(self, previous_obj_pkl):
"""We always expect Networking.blacklist_drivers to be initialised."""
assert previous_obj_pkl.distro.networking.blacklist_drivers is None
+
+ def test_paths_has_run_dir_attribute(self, previous_obj_pkl):
+ assert previous_obj_pkl.paths.run_dir is not None