Update tmux version in tests
This commit is contained in:
parent
a4783ba29f
commit
453b1c1236
@ -24,7 +24,7 @@ version = "7.3.*"
|
|||||||
|
|
||||||
[[packages]]
|
[[packages]]
|
||||||
name = "tmux"
|
name = "tmux"
|
||||||
version = "2.7"
|
version = "2.8"
|
||||||
|
|
||||||
[[packages]]
|
[[packages]]
|
||||||
name = "openssh-server"
|
name = "openssh-server"
|
||||||
|
@ -161,7 +161,7 @@ class ServerTestCase(unittest.TestCase):
|
|||||||
"name":"example-http-server",
|
"name":"example-http-server",
|
||||||
"packages": [{"name":"openssh-server", "version": "7.*"},
|
"packages": [{"name":"openssh-server", "version": "7.*"},
|
||||||
{"name": "rsync", "version": "3.1.*"},
|
{"name": "rsync", "version": "3.1.*"},
|
||||||
{"name": "tmux", "version": "2.7"}],
|
{"name": "tmux", "version": "2.8"}],
|
||||||
"groups": [],
|
"groups": [],
|
||||||
"version": "0.0.1"}]}
|
"version": "0.0.1"}]}
|
||||||
resp = self.server.get("/api/v0/blueprints/info/example-http-server")
|
resp = self.server.get("/api/v0/blueprints/info/example-http-server")
|
||||||
@ -189,7 +189,7 @@ class ServerTestCase(unittest.TestCase):
|
|||||||
"name":"example-http-server",
|
"name":"example-http-server",
|
||||||
"packages": [{"name":"openssh-server", "version": "7.*"},
|
"packages": [{"name":"openssh-server", "version": "7.*"},
|
||||||
{"name": "rsync", "version": "3.1.*"},
|
{"name": "rsync", "version": "3.1.*"},
|
||||||
{"name": "tmux", "version": "2.7"}],
|
{"name": "tmux", "version": "2.8"}],
|
||||||
"groups": [],
|
"groups": [],
|
||||||
"version": "0.0.1"},
|
"version": "0.0.1"},
|
||||||
]}
|
]}
|
||||||
@ -243,7 +243,7 @@ class ServerTestCase(unittest.TestCase):
|
|||||||
"modules":[{"name":"glusterfs", "version":"5.*"},
|
"modules":[{"name":"glusterfs", "version":"5.*"},
|
||||||
{"name":"glusterfs-cli", "version":"5.*"}],
|
{"name":"glusterfs-cli", "version":"5.*"}],
|
||||||
"packages":[{"name":"samba", "version":"4.*.*"},
|
"packages":[{"name":"samba", "version":"4.*.*"},
|
||||||
{"name":"tmux", "version":"2.7"}],
|
{"name":"tmux", "version":"2.8"}],
|
||||||
"groups": []}
|
"groups": []}
|
||||||
|
|
||||||
resp = self.server.post("/api/v0/blueprints/new",
|
resp = self.server.post("/api/v0/blueprints/new",
|
||||||
@ -294,7 +294,7 @@ class ServerTestCase(unittest.TestCase):
|
|||||||
"modules":[{"name":"glusterfs", "version":"5.*"},
|
"modules":[{"name":"glusterfs", "version":"5.*"},
|
||||||
{"name":"glusterfs-cli", "version":"5.*"}],
|
{"name":"glusterfs-cli", "version":"5.*"}],
|
||||||
"packages":[{"name":"samba", "version":"4.*.*"},
|
"packages":[{"name":"samba", "version":"4.*.*"},
|
||||||
{"name":"tmux", "version":"2.7"}],
|
{"name":"tmux", "version":"2.8"}],
|
||||||
"groups": []}
|
"groups": []}
|
||||||
|
|
||||||
resp = self.server.post("/api/v0/blueprints/workspace",
|
resp = self.server.post("/api/v0/blueprints/workspace",
|
||||||
@ -321,7 +321,7 @@ class ServerTestCase(unittest.TestCase):
|
|||||||
"modules":[{"name":"glusterfs", "version":"5.*"},
|
"modules":[{"name":"glusterfs", "version":"5.*"},
|
||||||
{"name":"glusterfs-cli", "version":"5.*"}],
|
{"name":"glusterfs-cli", "version":"5.*"}],
|
||||||
"packages":[{"name":"samba", "version":"4.*.*"},
|
"packages":[{"name":"samba", "version":"4.*.*"},
|
||||||
{"name":"tmux", "version":"2.7"}],
|
{"name":"tmux", "version":"2.8"}],
|
||||||
"groups": []}
|
"groups": []}
|
||||||
|
|
||||||
resp = self.server.post("/api/v0/blueprints/workspace",
|
resp = self.server.post("/api/v0/blueprints/workspace",
|
||||||
@ -453,7 +453,7 @@ class ServerTestCase(unittest.TestCase):
|
|||||||
"modules":[{"name":"glusterfs", "version":"5.*"},
|
"modules":[{"name":"glusterfs", "version":"5.*"},
|
||||||
{"name":"glusterfs-cli", "version":"5.*"}],
|
{"name":"glusterfs-cli", "version":"5.*"}],
|
||||||
"packages":[{"name":"samba", "version":"4.*.*"},
|
"packages":[{"name":"samba", "version":"4.*.*"},
|
||||||
{"name":"tmux", "version":"2.7"}]}
|
{"name":"tmux", "version":"2.8"}]}
|
||||||
|
|
||||||
resp = self.server.post("/api/v0/blueprints/workspace",
|
resp = self.server.post("/api/v0/blueprints/workspace",
|
||||||
data=json.dumps(test_blueprint),
|
data=json.dumps(test_blueprint),
|
||||||
@ -469,7 +469,7 @@ class ServerTestCase(unittest.TestCase):
|
|||||||
"old": {"Description": "An example GlusterFS server with samba"}},
|
"old": {"Description": "An example GlusterFS server with samba"}},
|
||||||
{"new": {"Version": "0.3.0"},
|
{"new": {"Version": "0.3.0"},
|
||||||
"old": {"Version": "0.0.1"}},
|
"old": {"Version": "0.0.1"}},
|
||||||
{"new": {"Package": {"version": "2.7", "name": "tmux"}},
|
{"new": {"Package": {"version": "2.8", "name": "tmux"}},
|
||||||
"old": None}]}
|
"old": None}]}
|
||||||
self.assertEqual(data, result)
|
self.assertEqual(data, result)
|
||||||
|
|
||||||
@ -730,7 +730,7 @@ class ServerTestCase(unittest.TestCase):
|
|||||||
"modules":[{"name":"glusterfs", "version":"5.*"},
|
"modules":[{"name":"glusterfs", "version":"5.*"},
|
||||||
{"name":"glusterfs-cli", "version":"5.*"}],
|
{"name":"glusterfs-cli", "version":"5.*"}],
|
||||||
"packages":[{"name":"samba", "version":"4.*.*"},
|
"packages":[{"name":"samba", "version":"4.*.*"},
|
||||||
{"name":"tmux", "version":"2.7"}],
|
{"name":"tmux", "version":"2.8"}],
|
||||||
"groups": []}
|
"groups": []}
|
||||||
|
|
||||||
resp = self.server.post("/api/v0/blueprints/new?branch=test",
|
resp = self.server.post("/api/v0/blueprints/new?branch=test",
|
||||||
|
Loading…
Reference in New Issue
Block a user