[lxc-devel] [pylxd/master] Correct a typo in the integration test

d0ugal on Github lxc-bot at linuxcontainers.org
Thu Dec 17 16:00:32 UTC 2020


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 374 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20201217/94868b5e/attachment.bin>
-------------- next part --------------
From 084fd69374224a29ef060e0faf6f4d9c26f652a9 Mon Sep 17 00:00:00 2001
From: Dougal Matthews <dougal at dougalmatthews.com>
Date: Thu, 17 Dec 2020 15:59:01 +0000
Subject: [PATCH] Correct a typo in the integration test

I think we can be confident that Pythons dict implementation is correct.
---
 integration/test_projects.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integration/test_projects.py b/integration/test_projects.py
index a8d91087..8d126faa 100644
--- a/integration/test_projects.py
+++ b/integration/test_projects.py
@@ -65,7 +65,7 @@ def test_create(self):
         self.assertEqual(name, project.name)
         self.assertEqual(description, project.description)
         for key, value in config.items():
-            self.assertEqual(config[key], value)
+            self.assertEqual(project.config[key], value)
 
 
 class TestProject(BaseTestProject):


More information about the lxc-devel mailing list