From ab2d7105f5680e1f8c681ecf917b1d7c31f3ccc3 Mon Sep 17 00:00:00 2001 From: Nico Alt <nicoalt@posteo.org> Date: Wed, 2 Sep 2020 16:00:01 +0000 Subject: [PATCH] Fix failing pytests --- .gitlab-ci.yml | 2 -- briar-gtk/tests/briar_gtk/test_window.py | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db44e56..71524b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -27,5 +27,3 @@ pytest: stage: test coverage: '/TOTAL.*\s+(\d+%)$/' script: tools/tests/test-pytest.sh - allow_failure: true - when: manual diff --git a/briar-gtk/tests/briar_gtk/test_window.py b/briar-gtk/tests/briar_gtk/test_window.py index 157ca23..d40152d 100644 --- a/briar-gtk/tests/briar_gtk/test_window.py +++ b/briar-gtk/tests/briar_gtk/test_window.py @@ -87,7 +87,8 @@ def briar_headless_jar(is_file): return is_file -@pytest.fixture(autouse=True) +# For some reason, this gives a '6681 Segmentation fault'. Therefore 'False' +@pytest.fixture(autouse=False) def gi_dependencies(mocker): mocker.patch(MODULE % "Gtk") -- GitLab