[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lxc-devel
Subject:    [lxc-devel] [pylxd/master] Correct a typo in the integration test
From:       d0ugal on Github <lxc-bot () linuxcontainers ! org>
Date:       2020-12-17 16:00:32
Message-ID: 5fdb80a0.1c69fb81.c7f47.5d72SMTPIN_ADDED_MISSING () mx ! google ! com
[Download RAW message or body]

[Attachment #2 (text/x-mailbox)]

The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/pylxd/pull/445

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
I think we can be confident that Pythons dict implementation is correct.

[Attachment #3 (text/plain)]

From 084fd69374224a29ef060e0faf6f4d9c26f652a9 Mon Sep 17 00:00:00 2001
From: Dougal Matthews <dougal@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):

[Attachment #4 (text/plain)]

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic