From 92baa9993296deb71b62585ed2dd385526eb7278 Mon Sep 17 00:00:00 2001 From: Alexander Goscinski Date: Tue, 21 Jul 2026 08:32:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20Stabilize=20psql=5Fdos=20get=5Fi?= =?UTF-8?q?nfo=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reset the profile before `test_get_info` so the node creation timestamps are not affected by data created in earlier tests. This avoids flaky assertions on the first and last created node reported by the storage backend. --- tests/storage/psql_dos/test_backend.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/storage/psql_dos/test_backend.py b/tests/storage/psql_dos/test_backend.py index a2b700372f..f3c58bf32c 100644 --- a/tests/storage/psql_dos/test_backend.py +++ b/tests/storage/psql_dos/test_backend.py @@ -106,6 +106,7 @@ def mock_maintain(self, live=True, dry_run=False, compress=False, **kwargs): assert text in message_list +@pytest.mark.usefixtures('aiida_profile_clean') def test_get_info(monkeypatch): """Test the ``get_info`` method.""" from aiida import orm