<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 05/13/2015 10:17 PM, Marc Abramowitz
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAgNOZ3Kw5G+1g8-DrFZNM0ZmNpCPghGC+vSjjLV_=FOnK1GyA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Yeah, that seems reasonable.</div>
    </blockquote>
    <br>
    Thomas' patch and/or my suggestion? ;-)<br>
    <br>
    /Mads<br>
    <br>
    <blockquote
cite="mid:CAAgNOZ3Kw5G+1g8-DrFZNM0ZmNpCPghGC+vSjjLV_=FOnK1GyA@mail.gmail.com"
      type="cite">
      <div class="gmail_extra">On Wed, May 13, 2015 at 12:34 PM, Mads
        Kiilerich <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:mads@kiilerich.com" target="_blank">mads@kiilerich.com</a>></span>
        wrote:<br>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">On
            05/13/2015 09:26 PM, Thomas De Schampheleire wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              # HG changeset patch<br>
              # User Thomas De Schampheleire <<a
                moz-do-not-send="true"
                href="mailto:thomas.de.schampheleire@gmail.com"
                target="_blank">thomas.de.schampheleire@gmail.com</a>><br>
              # Date 1431544206 -7200<br>
              #      Wed May 13 21:10:06 2015 +0200<br>
              # Node ID edce9d365e2d6711e1336ee58a1b20520d8283ae<br>
              # Parent  e19127e4040d1817bbec77118ca7377644f76a64<br>
              tests: restrict pytest test collection to kallithea/tests<br>
              <br>
              When the kallithea root directory contains a populated
              virtualenv, pytest<br>
              would also collect tests in python packages installed
              there.<br>
              <br>
              Restrict the tests to be considered to any test_*.py file
              inside<br>
              kallithea/tests. With this change, the 'norecursedirs'
              value of .* and<br>
              *.egg are no longer relevant.<br>
            </blockquote>
            <br>
            Marc, do you agree with this?<br>
            <br>
            Should we also just rename the test_ files in the scripts
            folder and get rid of the norecurse option?<br>
            <br>
            /Mads<br>
            <br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <br>
              diff --git a/setup.cfg b/setup.cfg<br>
              --- a/setup.cfg<br>
              +++ b/setup.cfg<br>
              @@ -11,7 +11,8 @@ detailed-errors = 1<br>
                nologcapture = 1<br>
                  [pytest]<br>
              -norecursedirs = .* *.egg kallithea/tests/scripts<br>
              +norecursedirs = kallithea/tests/scripts<br>
              +python_files = kallithea/tests/**/test_*.py<br>
                  [compile_catalog]<br>
                domain = kallithea<br>
            </blockquote>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>