diff --git a/tests/tools/archive/orm/test_authinfo.py b/tests/tools/archive/orm/test_authinfo.py index e20c51270a..89136ee858 100644 --- a/tests/tools/archive/orm/test_authinfo.py +++ b/tests/tools/archive/orm/test_authinfo.py @@ -15,6 +15,7 @@ @pytest.mark.usefixtures('aiida_localhost') +@pytest.mark.usefixtures('aiida_profile_clean') def test_create_all_no_authinfo(tmp_path): """Test archive creation that does not include authinfo.""" filename1 = tmp_path / 'export1.aiida' @@ -24,6 +25,7 @@ def test_create_all_no_authinfo(tmp_path): @pytest.mark.usefixtures('aiida_localhost') +@pytest.mark.usefixtures('aiida_profile_clean') def test_create_all_with_authinfo(tmp_path): """Test archive creation that does include authinfo.""" filename1 = tmp_path / 'export1.aiida' @@ -32,6 +34,7 @@ def test_create_all_with_authinfo(tmp_path): assert archive.querybuilder().append(orm.AuthInfo).count() == 1 +@pytest.mark.usefixtures('aiida_profile_clean') def test_create_comp_with_authinfo(tmp_path, aiida_localhost): """Test archive creation that does include authinfo.""" filename1 = tmp_path / 'export1.aiida' @@ -40,6 +43,7 @@ def test_create_comp_with_authinfo(tmp_path, aiida_localhost): assert archive.querybuilder().append(orm.AuthInfo).count() == 1 +@pytest.mark.usefixtures('aiida_profile_clean') def test_import_authinfo(aiida_profile, tmp_path, aiida_localhost): """Test archive import, including authinfo""" filename1 = tmp_path / 'export1.aiida'