def ensure_test_start_reported()

in teamcity/pytest_plugin.py [0:0]


    def ensure_test_start_reported(self, test_id, metainfo=None, path=None, lineno=None):
        if test_id not in self.test_start_reported_mark:
            if self.output_capture_enabled:
                capture_standard_output = "false"
            else:
                capture_standard_output = "true"
            self.teamcity.testStarted(test_id, flowId=test_id, captureStandardOutput=capture_standard_output,
                                      metainfo=metainfo, path=path, lineno=str(lineno) if lineno is not None else None)
            self.test_start_reported_mark.add(test_id)