diff --git a/qubesadmin/tests/app.py b/qubesadmin/tests/app.py index 7384eaf..56ff6f4 100644 --- a/qubesadmin/tests/app.py +++ b/qubesadmin/tests/app.py @@ -323,7 +323,6 @@ class TC_20_QubesLocal(unittest.TestCase): with open(tmpdir + '/payload') as payload: self.assertEqual(payload.read(), 'some payload\n') - def test_010_run_service(self): self.listen_and_send(b'0\0') with mock.patch('subprocess.Popen') as mock_proc: diff --git a/qubesadmin/tests/storage.py b/qubesadmin/tests/storage.py index 2b43670..b0cee76 100644 --- a/qubesadmin/tests/storage.py +++ b/qubesadmin/tests/storage.py @@ -158,6 +158,7 @@ class TestVMVolume(qubesadmin.tests.QubesTestCase): input_proc = subprocess.Popen(['echo', '-n', 'some-data'], stdout=subprocess.PIPE) self.vol.import_data(input_proc.stdout) + input_proc.stdout.close() self.assertAllCalled()