lookout.style.format.tests.test_quality_report

Module Contents

class lookout.style.format.tests.test_quality_report.PretrainedModelTests

Bases:unittest.TestCase

classmethod setUpClass(cls)

Prepare environment & train the model for tests.

classmethod tearDownClass(cls)

Remove temporary directory with jquery repository.

setUp(self)
tearDown(self)
class lookout.style.format.tests.test_quality_report.Capturing

Bases:list

Capture prints.

__enter__(self)
__exit__(self, *args)
class lookout.style.format.tests.test_quality_report.QualityReportTests

Bases:lookout.style.format.tests.test_quality_report.PretrainedModelTests

test_eval_empty_input(self)

Test on empty folder - expect only model and test report.

test_eval(self)

Test on normal input.

test_eval_aggregate(self)

Test on normal input, quality reports are aggregated.

test_no_model(self)

Test on wrong path to model - expect fail.

test_train_review_analyzer_integration(self)

Integration test for review event.