[libvirt] [dbus PATCH] gitignore: add tests/.pytest_cache

Anya Harter posted 1 patch 5 years, 9 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
.gitignore | 1 +
1 file changed, 1 insertion(+)
[libvirt] [dbus PATCH] gitignore: add tests/.pytest_cache
Posted by Anya Harter 5 years, 9 months ago
Signed-off-by: Anya Harter <aharter@redhat.com>
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index ca9e4e1..c41c82c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,3 +44,4 @@ vgcore.*
 /src/org.libvirt.service
 
 /tests/test_util
+/tests/.pytest_cache
-- 
2.17.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [dbus PATCH] gitignore: add tests/.pytest_cache
Posted by Andrea Bolognani 5 years, 9 months ago
On Thu, 2018-07-05 at 13:48 -0400, Anya Harter wrote:
> Signed-off-by: Anya Harter <aharter@redhat.com>
> ---
>  .gitignore | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/.gitignore b/.gitignore
> index ca9e4e1..c41c82c 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -44,3 +44,4 @@ vgcore.*
>  /src/org.libvirt.service
>  
>  /tests/test_util
> +/tests/.pytest_cache

When does the directory (or file?) get created? I just ran 'make
test' but it's not there for me.

Either way, this looks like it should be a more generic exclude
pattern like the one we already have for __pycache__ directories
instead of being limited to tests/.

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list