From: Alfredo Deza Date: Mon, 22 Jul 2013 13:08:27 +0000 (-0400) Subject: make tests compaitble with python 2.6 X-Git-Tag: v1.2~28^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19%2Fhead;p=ceph-deploy.git make tests compaitble with python 2.6 Signed-off-by: Alfredo Deza --- diff --git a/ceph_deploy/tests/test_cli.py b/ceph_deploy/tests/test_cli.py index 0e28378..6312ae3 100644 --- a/ceph_deploy/tests/test_cli.py +++ b/ceph_deploy/tests/test_cli.py @@ -23,7 +23,7 @@ def test_bad_command(tmpdir, cli): result = p.stderr.read() assert 'usage: ceph-deploy' in result assert err.value.status == 2 - assert {p.basename for p in tmpdir.listdir()} == set() + assert [p.basename for p in tmpdir.listdir()] == [] def test_bad_cluster(tmpdir, cli): @@ -35,4 +35,4 @@ def test_bad_cluster(tmpdir, cli): result = p.stderr.read() assert 'usage: ceph-deploy' in result assert err.value.status == 2 - assert {p.basename for p in tmpdir.listdir()} == set() + assert [p.basename for p in tmpdir.listdir()] == []