File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -186,16 +186,15 @@ def _auto_children(self) -> None:
186186 for child in self .children
187187 if isinstance (child , Module )
188188 }
189- # @todo
190- # raise RuntimeError([self.testable_name, child_testable_names])
191189 for module_info in pkgutil .iter_modules (
192190 [str (self .testable_file_path .parent )]
193191 ):
194192 module_testable_name = f"{ self .testable_name } .{ module_info .name } "
195- if module_testable_name not in child_testable_names :
196- # @todo
197- if self .testable_name == "betty" :
198- pass
193+ if (
194+ module_testable_name not in child_testable_names
195+ and _name_to_path (module_testable_name )
196+ not in get_coveragerc_ignore_modules ()
197+ ):
199198 self ._children = {
200199 * self ._children ,
201200 Module (module_testable_name ),
Original file line number Diff line number Diff line change 4242 ),
4343 },
4444 ),
45+ InternalModule ("betty.test_utils" ),
4546 InternalModule ("betty.tests" ),
4647 },
4748)
You can’t perform that action at this time.
0 commit comments