diff options
Diffstat (limited to 'tests/frontend/workspace.py')
-rw-r--r-- | tests/frontend/workspace.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py index b992538df..10fd68c16 100644 --- a/tests/frontend/workspace.py +++ b/tests/frontend/workspace.py @@ -1371,3 +1371,9 @@ def test_multiple_projects(cli, datafiles, tmpdir_factory, close_from_external): # Check that the workspace no longer works result = cli.run(project=alpha_project, args=['-C', workspace_dir, 'show', '--format', '%{name}']) result.assert_main_error(ErrorDomain.LOAD, LoadErrorReason.MISSING_PROJECT_CONF) + + +@pytest.mark.datafiles(DATA_DIR) +def test_multi_element_multiple_projects(cli, datafiles, tmpdir_factory): + # Test that behaviour is consistent when two elements that use the same + # repository as a source open the same workspace |