From c09f356ded2f339a8de946843856a3cfedeec09f Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Fri, 6 Dec 2013 10:44:32 -0500 Subject: [PATCH] tests for the new asok path Signed-off-by: Alfredo Deza --- ceph_deploy/tests/unit/util/test_paths.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ceph_deploy/tests/unit/util/test_paths.py b/ceph_deploy/tests/unit/util/test_paths.py index 71bcc62..9e0bb91 100644 --- a/ceph_deploy/tests/unit/util/test_paths.py +++ b/ceph_deploy/tests/unit/util/test_paths.py @@ -27,3 +27,7 @@ class TestMonPaths(object): assert result.startswith('/') assert result.endswith('tmp/mycluster-myhostname.mon.keyring') + def test_asok(self): + result = paths.mon.asok('mycluster', 'myhostname') + assert result.startswith('/') + assert result.endswith('mycluster-myhostname.asok') -- 2.47.3