]> git.proxmox.com Git - mirror_lxc.git/commitdiff
python3: remove assert since hwaddr isn't set by the download template
authorDwight Engen <dwight.engen@oracle.com>
Wed, 7 May 2014 13:52:00 +0000 (09:52 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 7 May 2014 13:54:41 +0000 (08:54 -0500)
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/python-lxc/examples/api_test.py

index 9f935d70c7146f769405306eadc6458d75ebc386..79521970abd013e8df1cff9e9856f4c32bd3f80a 100755 (executable)
@@ -91,7 +91,6 @@ print("Testing the networking")
 # A few basic checks of the current state
 assert("name" in container.get_keys("lxc.network.0"))
 assert(len(container.network) == 1)
-assert(container.network[0].hwaddr.startswith("00:16:3e"))
 
 ## Starting the container
 print("Starting the container")