diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2023-03-28 06:25:11 -0400 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2023-04-19 08:17:16 -0400 |
commit | 65214dcd96301ea15c933484c803b0aef36d68d0 (patch) | |
tree | f90ec251bb09813a2772f1e69fe7818ca2158a4e /tox.ini | |
parent | 62a4c1f395eebb3d693df35514eabd6580bd0bdb (diff) | |
download | libvirt-python-65214dcd96301ea15c933484c803b0aef36d68d0.tar.gz |
setup: limit pytest to 'tests' subdir
The libvirt git repo contains test data that represents the
layout of files in sysfs, which has two subdirs that mutually
reference each other with symlinks.
When pytest does test discovery it will traverse every
directory it finds underneath the libvirt-python checkout.
Since we checkout libvirt as a sub-dir, pytest traverses
everything in libvirt git and gets stuck in an infinite
loop following symlinks in the libvirt test data.
Telling pytest to only look at the 'tests' subdir avoids
this extra traversal.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions