From 01c2e262ebfd8005083c9391f2ca8c3e21a8f52e Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 23 Feb 2017 20:06:24 -0400 Subject: [PATCH] Ignore LibreOffice fontconfig cache dir when testing for orphan temporary files. Signed-off-by: Roberto Rosario --- mayan/apps/common/tests/mixins.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mayan/apps/common/tests/mixins.py b/mayan/apps/common/tests/mixins.py index d5bfaf2e31..e202cf3883 100644 --- a/mayan/apps/common/tests/mixins.py +++ b/mayan/apps/common/tests/mixins.py @@ -34,7 +34,8 @@ class ContentTypeCheckMixin(object): class TempfileCheckMixin(object): # Ignore the jvmstat instrumentation and GitLab's CI .config files - ignore_globs = ('hsperfdata_*', '.config') + # Ignore LibreOffice fontconfig cache dir + ignore_globs = ('hsperfdata_*', '.config', '.cache') def _get_temporary_entries(self): ignored_result = []