[lxc-devel] [pylxd/master] Add back profile rename integration test
ajkavanagh on Github
lxc-bot at linuxcontainers.org
Wed Mar 14 13:56:40 UTC 2018
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 440 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180314/628acf32/attachment.bin>
-------------- next part --------------
From abd7db63036ddaac48d678509c3c0fdee0cbfd60 Mon Sep 17 00:00:00 2001
From: Alex Kavanagh <alex at ajkavanagh.co.uk>
Date: Wed, 14 Mar 2018 11:54:47 +0000
Subject: [PATCH 1/2] Add back the profile rename integration test
LXD grew the ability to rename profiles, so remove the skip test
so that it gets tested when doing integration tests.
---
integration/test_profiles.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/integration/test_profiles.py b/integration/test_profiles.py
index a1e44a7..e32afe8 100644
--- a/integration/test_profiles.py
+++ b/integration/test_profiles.py
@@ -70,7 +70,6 @@ def test_save(self):
profile = self.client.profiles.get(self.profile.name)
self.assertEqual('16GB', profile.config['limits.memory'])
- @unittest.skip('Not implemented in LXD')
def test_rename(self):
"""A profile is renamed."""
name = 'a-other-profile'
From e0f61d427b8d2c1cb8f58ce76de6b14699697496 Mon Sep 17 00:00:00 2001
From: Alex Kavanagh <alex at ajkavanagh.co.uk>
Date: Wed, 14 Mar 2018 12:53:35 +0000
Subject: [PATCH 2/2] Bump version so run_integration_tests works
---
setup.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.cfg b/setup.cfg
index 5f014bd..f9fe4a2 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,7 +1,7 @@
[metadata]
name = pylxd
summary = python library for lxd
-version = 2.2.6
+version = 2.2.7
description-file =
README.rst
author = Paul Hummer and others (see CONTRIBUTORS.rst)
More information about the lxc-devel
mailing list