

def test_init(self):
    result = paths.mon.init('mycluster', 'myhostname', 'init')
    assert self.startswith('/')
    assert result.endswith('mycluster-myhostname/init')

dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/tests/unit/util/test_paths.py TestMonPaths.test_init/VarMisuse@26/38 `result`->`self`