summaryrefslogtreecommitdiff
path: root/openstackclient/tests
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2021-03-11 15:53:39 +0000
committerStephen Finucane <sfinucan@redhat.com>2021-03-11 15:56:59 +0000
commit2ccf7727a6c06214956b7067e7932015bcdfb5a5 (patch)
tree383a1de5029f624833b9d94eeff5442922c990f5 /openstackclient/tests
parentae1f8f888a9a143dc93e21d73408fbbc74307907 (diff)
downloadpython-openstackclient-2ccf7727a6c06214956b7067e7932015bcdfb5a5.tar.gz
compute: Remove 'file://' prefix from '--block-device'
There are a couple of other (networking-related) options which accept paths, none of which insist on a URI-style path. Let's just drop this bit of complexity before we release the feature. Change-Id: Ia7f781d82f3f4695b49b55a39abbb6e582cd879c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'openstackclient/tests')
-rw-r--r--openstackclient/tests/unit/compute/v2/test_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/unit/compute/v2/test_server.py b/openstackclient/tests/unit/compute/v2/test_server.py
index 775ad0d9..c6dff5a8 100644
--- a/openstackclient/tests/unit/compute/v2/test_server.py
+++ b/openstackclient/tests/unit/compute/v2/test_server.py
@@ -2197,7 +2197,7 @@ class TestServerCreate(TestServer):
arglist = [
'--image', 'image1',
'--flavor', self.flavor.id,
- '--block-device', f'file://{fp.name}',
+ '--block-device', fp.name,
self.new_server.name,
]
verifylist = [