diff --git a/qubes/tests/vm/init.py b/qubes/tests/vm/init.py index 436279a4..0258159c 100644 --- a/qubes/tests/vm/init.py +++ b/qubes/tests/vm/init.py @@ -119,3 +119,9 @@ class TC_10_BaseVM(qubes.tests.QubesTestCase): with self.assertRaises(TypeError): TestVM(None, node) + + def test_002_save_nxproperty(self): + vm = TestVM(None, None, qid=1, name='testvm') + vm.nxproperty = 'value' + xml = vm.__xml__() + self.assertNotIn('nxproperty', xml)