diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-04-16 16:41:06 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-04-16 16:41:06 -0400 |
commit | dcd4b2b371059bd6249b4e43af371ee1162273e8 (patch) | |
tree | 2cd9c39717d9bf78169605391f5033e401fbc603 /tests | |
parent | f4789639af50ea631cf75af526ad013b05670caa (diff) | |
download | vyos-cloud-init-dcd4b2b371059bd6249b4e43af371ee1162273e8.tar.gz vyos-cloud-init-dcd4b2b371059bd6249b4e43af371ee1162273e8.zip |
pep8 fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unittests/test_data.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unittests/test_data.py b/tests/unittests/test_data.py index 4f24e2dd..b950c9a5 100644 --- a/tests/unittests/test_data.py +++ b/tests/unittests/test_data.py @@ -494,10 +494,10 @@ c: 4 ]) def test_mime_application_octet_stream(self): - """Mime message of type application/octet-stream is ignored but shows warning.""" + """Mime type application/octet-stream is ignored but shows warning.""" ci = stages.Init() message = MIMEBase("application", "octet-stream") - message.set_payload(b'\xbf\xe6\xb2\xc3\xd3\xba\x13\xa4\xd8\xa1\xcc\xbf') + message.set_payload(b'\xbf\xe6\xb2\xc3\xd3\xba\x13\xa4\xd8\xa1\xcc') encoders.encode_base64(message) ci.datasource = FakeDataSource(message.as_string().encode()) @@ -511,6 +511,7 @@ c: 4 mockobj.assert_called_once_with( ci.paths.get_ipath("cloud_config"), "", 0o600) + class TestUDProcess(helpers.ResourceUsingTestCase): def test_bytes_in_userdata(self): |