From: Alfredo Deza Date: Fri, 6 Dec 2013 15:44:32 +0000 (-0500) Subject: tests for the new asok path X-Git-Tag: v1.3.4~3^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c09f356ded2f339a8de946843856a3cfedeec09f;p=ceph-deploy.git tests for the new asok path Signed-off-by: Alfredo Deza --- 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')