aboutsummaryrefslogtreecommitdiff
path: root/tests/test_systemd.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_systemd.py')
-rw-r--r--tests/test_systemd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_systemd.py b/tests/test_systemd.py
index 2fbdfdc..f5af3c9 100644
--- a/tests/test_systemd.py
+++ b/tests/test_systemd.py
@@ -47,7 +47,7 @@ class TestSystemd(unittest.TestCase):
CGroup: name=systemd:/system/libvirt-bin.service
├─ 952 /usr/sbin/libvirtd
└─1355 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
- """
+ """.encode('utf-8')
with patch('os.path.exists', return_value=True):
with patch('subprocess.Popen') as mock:
PopenMock = mock.return_value