This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a commit to branch 4.18
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.18 by this push:
new 973b0e28fda test: fix Super-Linter Check error in storpool tests
973b0e28fda is described below
commit 973b0e28fda0c0b2600b7435ddbe5d029a733dd7
Author: Wei Zhou <[email protected]>
AuthorDate: Tue Jun 27 10:47:25 2023 +0200
test: fix Super-Linter Check error in storpool tests
2023-06-27 08:42:08 [INFO]
File:[/github/workspace/test/integration/plugins/storpool/TestEncryptedVolumes.py]
2023-06-27 08:42:08 [ERROR] Found errors in [flake8] linter!
2023-06-27 08:42:08 [ERROR] Error code: 1. Command output:
------
/github/workspace/test/integration/plugins/storpool/TestEncryptedVolumes.py:681:113:
W292 no newline at end of file
------
2023-06-27 08:42:08 [INFO] ---------------------------
2023-06-27 08:42:08 [INFO]
File:[/github/workspace/test/integration/plugins/storpool/sp_util.py]
2023-06-27 08:42:08 [ERROR] Found errors in [flake8] linter!
2023-06-27 08:42:08 [ERROR] Error code: 1. Command output:
------
/github/workspace/test/integration/plugins/storpool/sp_util.py:798:31: W292
no newline at end of file
------
---
test/integration/plugins/storpool/TestEncryptedVolumes.py | 2 +-
test/integration/plugins/storpool/sp_util.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/integration/plugins/storpool/TestEncryptedVolumes.py
b/test/integration/plugins/storpool/TestEncryptedVolumes.py
index fcf72cf98bc..eed64950ef5 100644
--- a/test/integration/plugins/storpool/TestEncryptedVolumes.py
+++ b/test/integration/plugins/storpool/TestEncryptedVolumes.py
@@ -678,4 +678,4 @@ class TestEncryptedVolumes(cloudstackTestCase):
listall = True,
)[0]
- Volume.migrate(self.apiclient, volumeid=volume.id,
storageid=self.primary_storage2.id, livemigrate=True)
\ No newline at end of file
+ Volume.migrate(self.apiclient, volumeid=volume.id,
storageid=self.primary_storage2.id, livemigrate=True)
diff --git a/test/integration/plugins/storpool/sp_util.py
b/test/integration/plugins/storpool/sp_util.py
index 86a40ae22c7..6517841354a 100644
--- a/test/integration/plugins/storpool/sp_util.py
+++ b/test/integration/plugins/storpool/sp_util.py
@@ -795,4 +795,4 @@ class StorPoolHelper():
destinationHost = host[0]
break
- return destinationHost
\ No newline at end of file
+ return destinationHost