File tree Expand file tree Collapse file tree 4 files changed +21
-0
lines changed
Expand file tree Collapse file tree 4 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ from .ols02002_2 import a # OLS02002
2+ from .ols02002_2 import b # OLS02002
3+ from .ols02002_2 import *
Original file line number Diff line number Diff line change 1+ from .ols02002 import a
2+ from .ols02002 import *
Original file line number Diff line number Diff line change @@ -11,4 +11,5 @@ pub mod ols01008;
1111pub mod ols01009;
1212pub mod ols01010;
1313pub mod ols02001;
14+ pub mod ols02002;
1415pub mod ols0500_00_12;
Original file line number Diff line number Diff line change 1+ use std:: env;
2+
3+ use odoo_ls_server:: utils:: PathSanitizer ;
4+
5+ use crate :: { setup:: setup:: * , test_utils:: { verify_diagnostics_against_doc} } ;
6+
7+ #[ test]
8+ fn test_ols02002 ( ) {
9+ let mut odoo = setup_server ( false ) ;
10+ let path = env:: current_dir ( ) . unwrap ( ) . join ( "tests/data/python/diagnostics/ols02002.py" ) . sanitize ( ) ;
11+ let mut session = prepare_custom_entry_point ( & mut odoo, & path) ;
12+ let diagnostics = get_diagnostics_for_path ( & mut session, & path) ;
13+ let doc_diags = get_diagnostics_test_comments ( & mut session, & path) ;
14+ verify_diagnostics_against_doc ( diagnostics, doc_diags) ;
15+ }
You can’t perform that action at this time.
0 commit comments