hundreds-breakfast-49010
11/27/2019, 12:51 AMhundreds-breakfast-49010
11/27/2019, 12:52 AMrecevie_workunits
defined and accessible under a python module namehundreds-breakfast-49010
11/27/2019, 12:52 AMhundreds-father-404
11/27/2019, 1:38 AMaloof-angle-91616
11/27/2019, 4:37 AMaloof-angle-91616
11/27/2019, 4:39 AMaloof-angle-91616
11/27/2019, 4:39 AMaloof-angle-91616
11/27/2019, 4:39 AMaloof-angle-91616
11/27/2019, 4:41 AMhundreds-breakfast-49010
11/27/2019, 6:56 PMhundreds-breakfast-49010
11/27/2019, 6:57 PMimportlib
would accepthundreds-breakfast-49010
11/27/2019, 6:57 PMhundreds-father-404
11/27/2019, 6:59 PMhundreds-breakfast-49010
11/27/2019, 7:00 PMhundreds-breakfast-49010
11/27/2019, 7:04 PMhundreds-breakfast-49010
11/27/2019, 7:23 PMimportlib
hundreds-breakfast-49010
11/27/2019, 7:23 PMhundreds-father-404
11/27/2019, 7:24 PMtests/python/pants_test
would be pants_test.reporting.workunits.Workunit
hundreds-breakfast-49010
11/27/2019, 7:27 PMWorkunit
defined within the src
tree, right? what about if I'm creating the Subsystem within the tests
tree, for test use only?hundreds-father-404
11/27/2019, 7:28 PMsrc
or tests
? If it’s defined in src
, then the import starts with pants
. If the subsystem is defined in tests
, then the import starts with pants_test
hundreds-breakfast-49010
11/27/2019, 7:38 PMsrc
subsystemhundreds-father-404
11/27/2019, 7:39 PMpants_test.reporting.workunits.Workunit
if it’s defined in tests
hundreds-breakfast-49010
11/27/2019, 7:41 PMhundreds-breakfast-49010
11/27/2019, 7:41 PMhundreds-breakfast-49010
11/27/2019, 7:42 PMhundreds-breakfast-49010
11/27/2019, 7:46 PMhundreds-father-404
11/27/2019, 7:48 PMTestBase.captured_logging()
hundreds-breakfast-49010
11/27/2019, 8:46 PM