diff --git a/tests/pylorax/blueprints/example-http-server.toml b/tests/pylorax/blueprints/example-http-server.toml index 5fa73241..f1a29780 100644 --- a/tests/pylorax/blueprints/example-http-server.toml +++ b/tests/pylorax/blueprints/example-http-server.toml @@ -24,7 +24,7 @@ version = "7.3.*" [[packages]] name = "tmux" -version = "2.7" +version = "2.8" [[packages]] name = "openssh-server" diff --git a/tests/pylorax/test_server.py b/tests/pylorax/test_server.py index 30a63384..1574fc3a 100644 --- a/tests/pylorax/test_server.py +++ b/tests/pylorax/test_server.py @@ -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",