<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    In addition to making sure subprocesses start coverage, you have to
    ensure that your processes end cleanly.  Web servers are often meant
    to run "forever", so you may need to create a way for them to finish
    and write their data.<br>
    <br>
    --Ned.<br>
    <br>
    <div class="moz-cite-prefix">On 10/6/15 8:56 PM, Khashayar Delrooz
      wrote:<br>
    </div>
    <blockquote
      cite="mid:662495076.1683871.1444179415597.JavaMail.yahoo@mail.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff;
        font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
        Lucida Grande, sans-serif;font-size:12px">
        <div id="yui_3_16_0_1_1444082902288_21502">Hi,</div>
        <div class="" style="font-size: 12.8px; font-family: tahoma,
          sans-serif; color: rgb(68, 68, 68);"
          id="yui_3_16_0_1_1444082902288_21552">We are running our
          python services written in django and bottle via mod_wsgi and
          apache. Is there a way to plug coverage in, so that we can
          generate coverage reports when we run functional tests?</div>
        <div class="" style="font-size: 12.8px; font-family: tahoma,
          sans-serif; color: rgb(68, 68, 68);"
          id="yui_3_16_0_1_1444082902288_21554">We tried the
          instructions mentioned in <a moz-do-not-send="true"
href="http://coverage.readthedocs.org/en/latest/subprocess.html?highlight=pth#configuring-python-for-sub-process-coverage"
            target="_blank" style="color: rgb(17, 85, 204);"
            id="yui_3_16_0_1_1444082902288_21556" class="">http://coverage.<wbr
              id="yui_3_16_0_1_1444082902288_21558" class="">readthedocs.org/en/latest/<wbr
              id="yui_3_16_0_1_1444082902288_21560" class="">subprocess.html?highlight=pth#<wbr
              id="yui_3_16_0_1_1444082902288_21562" class="">configuring-python-for-sub-<wbr
              id="yui_3_16_0_1_1444082902288_21564" class="">process-coverage</a> but
          that did not help.</div>
        <div class="" style="font-size: 12.8px; font-family: tahoma,
          sans-serif; color: rgb(68, 68, 68);"
          id="yui_3_16_0_1_1444082902288_21554"><br>
        </div>
        <div class="" style="font-size: 12.8px; font-family: tahoma,
          sans-serif; color: rgb(68, 68, 68);"
          id="yui_3_16_0_1_1444082902288_21554">Any help is appreciated.</div>
        <div class="" style="font-size: 12.8px; font-family: tahoma,
          sans-serif; color: rgb(68, 68, 68);"
          id="yui_3_16_0_1_1444082902288_21554"><br>
        </div>
        <div class="" style="font-size: 12.8px; font-family: tahoma,
          sans-serif; color: rgb(68, 68, 68);"
          id="yui_3_16_0_1_1444082902288_21554"><br>
        </div>
        <div class="" style="font-size: 12.8px; font-family: tahoma,
          sans-serif; color: rgb(68, 68, 68);"
          id="yui_3_16_0_1_1444082902288_21554">Thanks,</div>
        <div class="" style="font-size: 12.8px; font-family: tahoma,
          sans-serif; color: rgb(68, 68, 68);"
          id="yui_3_16_0_1_1444082902288_21554">Khasha</div>
        <div class="" style="font-size: 12.8px; font-family: tahoma,
          sans-serif; color: rgb(68, 68, 68);" dir="ltr"
          id="yui_3_16_0_1_1444082902288_21566"><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
testing-in-python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a>
<a class="moz-txt-link-freetext" href="http://lists.idyll.org/listinfo/testing-in-python">http://lists.idyll.org/listinfo/testing-in-python</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>