Skip to content

Commit 928defc

Browse files
mmahroussfda-odoo
authored andcommitted
[IMP] Add test addons path to test workspace
1 parent db0a9fc commit 928defc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/tests/setup/setup.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ pub fn setup_server(with_odoo: bool) -> (SyncOdoo, ConfigEntry) {
5050

5151
let mut config = ConfigEntry::new();
5252
config.addons_paths = vec![test_addons_path.sanitize()].into_iter().collect();
53+
server.get_file_mgr().borrow_mut().add_workspace_folder(S!("test_addons_path"), test_addons_path.sanitize());
5354
config.odoo_path = community_path.map(|x| PathBuf::from(x).sanitize());
5455
let Some(python_cmd) = get_python_command() else {
5556
panic!("Python not found")

0 commit comments

Comments
 (0)