summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource/test_opennebula.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2015-01-26 12:41:04 -0500
committerBarry Warsaw <barry@python.org>2015-01-26 12:41:04 -0500
commit926a3df79a10ede61967c60f48ff0670a36e689a (patch)
treec43e2abc22d088ab7a19bb968c9392ebe5a110d3 /tests/unittests/test_datasource/test_opennebula.py
parente085d5cec212757e0ffffaa1be470e315142a2aa (diff)
downloadvyos-cloud-init-926a3df79a10ede61967c60f48ff0670a36e689a.tar.gz
vyos-cloud-init-926a3df79a10ede61967c60f48ff0670a36e689a.zip
More Python 3 test fixes.
Diffstat (limited to 'tests/unittests/test_datasource/test_opennebula.py')
-rw-r--r--tests/unittests/test_datasource/test_opennebula.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_datasource/test_opennebula.py b/tests/unittests/test_datasource/test_opennebula.py
index 1a8d2122..31c6232f 100644
--- a/tests/unittests/test_datasource/test_opennebula.py
+++ b/tests/unittests/test_datasource/test_opennebula.py
@@ -33,7 +33,7 @@ TEST_VARS = {
}
INVALID_CONTEXT = ';'
-USER_DATA = '#cloud-config\napt_upgrade: true'
+USER_DATA = b'#cloud-config\napt_upgrade: true'
SSH_KEY = 'ssh-rsa AAAAB3NzaC1....sIkJhq8wdX+4I3A4cYbYP ubuntu@server-460-%i'
HOSTNAME = 'foo.example.com'
PUBLIC_IP = '10.0.0.3'