File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,15 +124,16 @@ def test_000_load(self):
124124 self .assertCountEqual (vm .devices .keys (), ("pci" ,))
125125
126126 self .assertTrue (
127- list (vm .devices [" pci" ].get_assigned_devices ())[0 ].matches (
128- qubes .ext .pci .PCIDevice (Port (vm , " 00_11.22" , "pci" ))
127+ list (vm .devices [' pci' ].get_assigned_devices ())[0 ].matches (
128+ qubes .ext .pci .PCIDevice (Port (vm , ' 00_11.22' , "pci" ))
129129 )
130130 )
131131
132132 assignments = list (vm .devices ["pci" ].get_assigned_devices ())
133133 self .assertEqual (len (assignments ), 1 )
134134 self .assertEqual (assignments [0 ].options , {"no-strict-reset" : "True" })
135135 self .assertEqual (assignments [0 ].attach_automatically , True )
136+ self .assertEqual (assignments [0 ].frontend_domain , vm )
136137
137138 self .assertXMLIsValid (vm .__xml__ (), "relaxng/domain.rng" )
138139
Original file line number Diff line number Diff line change @@ -450,6 +450,7 @@ def load_extras(self):
450450 ),
451451 device_id = identity ,
452452 ),
453+ frontend_domain = self ,
453454 options = options ,
454455 mode = mode ,
455456 )
You can’t perform that action at this time.
0 commit comments