]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Add skipif_teuthology_process
authorZack Cerza <zack@redhat.com>
Fri, 4 Mar 2022 19:08:42 +0000 (12:08 -0700)
committerZack Cerza <zack@redhat.com>
Wed, 16 Mar 2022 22:51:16 +0000 (16:51 -0600)
commitaad4104b088e6b6cfb639fde21de7a19b164ee4a
treeed3641c23ee11720ebc204cb475bd655b3d62484
parent35d1b0e734c90b53883c79dbf411a45601d1b068
Add skipif_teuthology_process

There are a couple unit tests that seem to be fundamentally unable to
be used properly if they are run as part of a teuthology process, as
opposed to directly inside py.test. This fixture makes it easy to skip
those tests in such an environment without skipping them elsewhere.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/test/__init__.py