From b1c0054e1bf246d38ac2980c619c497d04aaecc6 Mon Sep 17 00:00:00 2001 From: Hiroki Aramaki Date: Wed, 8 Jul 2015 10:49:53 +0900 Subject: [PATCH] Some files missing newline at end of file Add new line at end of files. Python code styling guide(pep8) require new line at end of file. But some files missing newline at end of file. When check rally project by code checking tool (ex flake 8), no new line error is reported.This patch add new line to error reported files. Change-Id: Ibca2d8e90d826d8e02522f2d574e0033621d34fd Closes-Bug: #1472454 --- tests/functional/extra/fake_dir1/fake_plugin1.py | 2 +- tests/unit/plugins/openstack/wrappers/test_keystone.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/extra/fake_dir1/fake_plugin1.py b/tests/functional/extra/fake_dir1/fake_plugin1.py index f637f4aa..45ddf522 100644 --- a/tests/functional/extra/fake_dir1/fake_plugin1.py +++ b/tests/functional/extra/fake_dir1/fake_plugin1.py @@ -22,4 +22,4 @@ class FakeScenarioPlugin1(base.Scenario): @base.scenario() def list(self): """Fake scenario.""" - pass \ No newline at end of file + pass diff --git a/tests/unit/plugins/openstack/wrappers/test_keystone.py b/tests/unit/plugins/openstack/wrappers/test_keystone.py index 3d215f52..9f1fcbb4 100644 --- a/tests/unit/plugins/openstack/wrappers/test_keystone.py +++ b/tests/unit/plugins/openstack/wrappers/test_keystone.py @@ -229,4 +229,4 @@ class KeystoneV3WrapperTestCase(test.TestCase, KeystoneWrapperTestBase): self.wrapped_client.remove_role("fake_role_id", "fake_user_id", "fake_project_id") self.client.roles.revoke.assert_called_once_with( - "fake_role_id", user="fake_user_id", project="fake_project_id") \ No newline at end of file + "fake_role_id", user="fake_user_id", project="fake_project_id")