From 453b1c12364fe1fb9af2b958cb37f2c33b4c79e9 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Wed, 24 Oct 2018 11:36:09 +0300 Subject: [PATCH] Update tmux version in tests --- .../pylorax/blueprints/example-http-server.toml | 2 +- tests/pylorax/test_server.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) 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",