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()] == [] diff --git a/setup.py b/setup.py index 7e9adbe..e3b8604 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1): setup( name='ceph-deploy', version='1.1', - packages=find_packages(), + packages=find_packages(exclude=["*.tests"]), author='Tommi Virtanen', author_email='tommi.virtanen@inktank.com',