tests: Fix tests so they run on Fedora 28

Broaden the match for Samba in the glusterfs blueprint so it
can work on Fedora 28
This commit is contained in:
Stef Walter 2018-09-17 09:53:36 +02:00 committed by Brian C. Lane
parent 78717054d7
commit 4a66b5b085
2 changed files with 7 additions and 7 deletions

View File

@ -11,4 +11,4 @@ version = "4.1.*"
[[packages]]
name = "samba"
version = "4.9.*"
version = "4.*.*"

View File

@ -177,7 +177,7 @@ class ServerTestCase(unittest.TestCase):
"modules":[{"name":"glusterfs", "version":"4.1.*"},
{"name":"glusterfs-cli", "version":"4.1.*"}],
"name":"example-glusterfs",
"packages":[{"name":"samba", "version":"4.9.*"}],
"packages":[{"name":"samba", "version":"4.*.*"}],
"groups": [],
"version": "0.0.1"},
{"description":"An example http server with PHP and MySQL support.",
@ -242,7 +242,7 @@ class ServerTestCase(unittest.TestCase):
"version": "0.2.0",
"modules":[{"name":"glusterfs", "version":"4.1.*"},
{"name":"glusterfs-cli", "version":"4.1.*"}],
"packages":[{"name":"samba", "version":"4.9.*"},
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}],
"groups": []}
@ -293,7 +293,7 @@ class ServerTestCase(unittest.TestCase):
"version": "0.3.0",
"modules":[{"name":"glusterfs", "version":"4.1.*"},
{"name":"glusterfs-cli", "version":"4.1.*"}],
"packages":[{"name":"samba", "version":"4.9.*"},
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}],
"groups": []}
@ -320,7 +320,7 @@ class ServerTestCase(unittest.TestCase):
"version": "0.4.0",
"modules":[{"name":"glusterfs", "version":"4.1.*"},
{"name":"glusterfs-cli", "version":"4.1.*"}],
"packages":[{"name":"samba", "version":"4.9.*"},
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}],
"groups": []}
@ -452,7 +452,7 @@ class ServerTestCase(unittest.TestCase):
"version": "0.3.0",
"modules":[{"name":"glusterfs", "version":"4.1.*"},
{"name":"glusterfs-cli", "version":"4.1.*"}],
"packages":[{"name":"samba", "version":"4.9.*"},
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}]}
resp = self.server.post("/api/v0/blueprints/workspace",
@ -729,7 +729,7 @@ class ServerTestCase(unittest.TestCase):
"version": "0.2.0",
"modules":[{"name":"glusterfs", "version":"4.1.*"},
{"name":"glusterfs-cli", "version":"4.1.*"}],
"packages":[{"name":"samba", "version":"4.9.*"},
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}],
"groups": []}