Update tmux version in tests

This commit is contained in:
Alexander Todorov 2018-10-24 11:36:09 +03:00 committed by Alexander Todorov
parent a4783ba29f
commit 453b1c1236
2 changed files with 9 additions and 9 deletions

View File

@ -24,7 +24,7 @@ version = "7.3.*"
[[packages]]
name = "tmux"
version = "2.7"
version = "2.8"
[[packages]]
name = "openssh-server"

View File

@ -161,7 +161,7 @@ class ServerTestCase(unittest.TestCase):
"name":"example-http-server",
"packages": [{"name":"openssh-server", "version": "7.*"},
{"name": "rsync", "version": "3.1.*"},
{"name": "tmux", "version": "2.7"}],
{"name": "tmux", "version": "2.8"}],
"groups": [],
"version": "0.0.1"}]}
resp = self.server.get("/api/v0/blueprints/info/example-http-server")
@ -189,7 +189,7 @@ class ServerTestCase(unittest.TestCase):
"name":"example-http-server",
"packages": [{"name":"openssh-server", "version": "7.*"},
{"name": "rsync", "version": "3.1.*"},
{"name": "tmux", "version": "2.7"}],
{"name": "tmux", "version": "2.8"}],
"groups": [],
"version": "0.0.1"},
]}
@ -243,7 +243,7 @@ class ServerTestCase(unittest.TestCase):
"modules":[{"name":"glusterfs", "version":"5.*"},
{"name":"glusterfs-cli", "version":"5.*"}],
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}],
{"name":"tmux", "version":"2.8"}],
"groups": []}
resp = self.server.post("/api/v0/blueprints/new",
@ -294,7 +294,7 @@ class ServerTestCase(unittest.TestCase):
"modules":[{"name":"glusterfs", "version":"5.*"},
{"name":"glusterfs-cli", "version":"5.*"}],
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}],
{"name":"tmux", "version":"2.8"}],
"groups": []}
resp = self.server.post("/api/v0/blueprints/workspace",
@ -321,7 +321,7 @@ class ServerTestCase(unittest.TestCase):
"modules":[{"name":"glusterfs", "version":"5.*"},
{"name":"glusterfs-cli", "version":"5.*"}],
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}],
{"name":"tmux", "version":"2.8"}],
"groups": []}
resp = self.server.post("/api/v0/blueprints/workspace",
@ -453,7 +453,7 @@ class ServerTestCase(unittest.TestCase):
"modules":[{"name":"glusterfs", "version":"5.*"},
{"name":"glusterfs-cli", "version":"5.*"}],
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}]}
{"name":"tmux", "version":"2.8"}]}
resp = self.server.post("/api/v0/blueprints/workspace",
data=json.dumps(test_blueprint),
@ -469,7 +469,7 @@ class ServerTestCase(unittest.TestCase):
"old": {"Description": "An example GlusterFS server with samba"}},
{"new": {"Version": "0.3.0"},
"old": {"Version": "0.0.1"}},
{"new": {"Package": {"version": "2.7", "name": "tmux"}},
{"new": {"Package": {"version": "2.8", "name": "tmux"}},
"old": None}]}
self.assertEqual(data, result)
@ -730,7 +730,7 @@ class ServerTestCase(unittest.TestCase):
"modules":[{"name":"glusterfs", "version":"5.*"},
{"name":"glusterfs-cli", "version":"5.*"}],
"packages":[{"name":"samba", "version":"4.*.*"},
{"name":"tmux", "version":"2.7"}],
{"name":"tmux", "version":"2.8"}],
"groups": []}
resp = self.server.post("/api/v0/blueprints/new?branch=test",