]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: workaround ceph-disk global side effects
authorLoic Dachary <ldachary@redhat.com>
Tue, 19 Jan 2016 11:33:05 +0000 (18:33 +0700)
committerLoic Dachary <ldachary@redhat.com>
Thu, 4 Feb 2016 07:38:08 +0000 (14:38 +0700)
commitc9e3e8a5dfaaf4bac3fb85806e87e4ef6599d7a8
tree20fe3ee5f2c0b646c5e395054a25c872dfdd5613
parent53014bf437f0658b2b3389240c3dc7381da30890
tests: workaround ceph-disk global side effects

Because some variables are global in ceph-disk, tests that modify them
interact with each other in non-predictable ways. This will go away
eventually but requires a significant refactor. Workaround by running
one py.test per test file.

Signed-off-by: Loic Dachary <loic@dachary.org>
src/ceph-disk/tests/test_main.py
src/ceph-disk/tox.ini