Fix linting errors Signed-off-by: Anthony Shaw <anthony.p.s...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/325f52e7 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/325f52e7 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/325f52e7 Branch: refs/heads/trunk Commit: 325f52e7cdf4aff135ec68a71e4fa451fb888312 Parents: 67e5694 Author: Anthony Shaw <anthony.p.s...@gmail.com> Authored: Tue Dec 8 21:34:11 2015 +1100 Committer: Anthony Shaw <anthony.p.s...@gmail.com> Committed: Wed Dec 9 21:19:15 2015 +1100 ---------------------------------------------------------------------- libcloud/test/compute/test_dimensiondata.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/325f52e7/libcloud/test/compute/test_dimensiondata.py ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/test_dimensiondata.py b/libcloud/test/compute/test_dimensiondata.py index bbdf2b2..ad93b7d 100644 --- a/libcloud/test/compute/test_dimensiondata.py +++ b/libcloud/test/compute/test_dimensiondata.py @@ -480,9 +480,9 @@ class DimensionDataTests(unittest.TestCase, TestCaseMixin): def test_ex_reconfigure_node(self): node = self.driver.list_nodes()[0] - result = self.driver.ex_reconfigure_node(node, 4, 4, 1,'HIGHPERFORMANCE') + result = self.driver.ex_reconfigure_node(node, 4, 4, 1, 'HIGHPERFORMANCE') self.assertTrue(result) - + class InvalidRequestError(Exception): def __init__(self, tag): @@ -967,7 +967,5 @@ class DimensionDataMockHttp(MockHttp): 'caas_2_1_8a8f6abc_2745_4d8a_9cbc_8dabe5a7d0e4_server_reconfigureServer.xml') return (httplib.OK, body, {}, httplib.responses[httplib.OK]) - - if __name__ == '__main__': sys.exit(unittest.main())