Post-release version bump to 11.1.0
[libvirt-python.git] / tests / test_network.py
blob3d47f3507d39d18b216c131376608e9c2edd23e9
1 import unittest
2 import libvirt
5 class TestLibvirtNetwork(unittest.TestCase):
6 def setUp(self):
7 self.conn = libvirt.open("test:///default")
8 self.net = self.conn.networkLookupByName("default")
10 def tearDown(self):
11 self.net = None
12 self.conn = None
14 def testAttr(self):
15 self.assertEqual(self.net.name(), "default")