[libvirt] [dbus PATCH v2 06/17] Test Destroy method for Interface Interface

Anya Harter aharter at redhat.com
Fri Jul 20 18:34:50 UTC 2018


Signed-off-by: Anya Harter <aharter at redhat.com>
---
 tests/test_interface.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/test_interface.py b/tests/test_interface.py
index 88be5dc..62fd517 100755
--- a/tests/test_interface.py
+++ b/tests/test_interface.py
@@ -7,6 +7,10 @@ class TestInterface(libvirttest.BaseTestClass):
     """ Tests for methods and properties of the Interface interface
     """
 
+    def test_interface_destroy(self):
+        _,interface_obj = self.interface_create()
+        interface_obj.Destroy(0)
+
     def test_interface_create(self):
         _,interface_obj = self.interface_create()
         interface_obj.Destroy(0)
-- 
2.17.1




More information about the libvir-list mailing list