This file is indexed.

/usr/share/doc/python-webtest-doc/contributing.html is in python-webtest-doc 2.0.28-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Contribute to webtest project &#8212; WebTest 2.0.28 documentation</title>
    <link rel="stylesheet" href="_static/nature.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '2.0.28',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true,
        SOURCELINK_SUFFIX: '.txt'
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="News" href="changelog.html" />
    <link rel="prev" title="webtest API" href="api.html" /> 
  </head>
  <body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="changelog.html" title="News"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="api.html" title="webtest API"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">WebTest 2.0.28 documentation</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="contribute-to-webtest-project">
<h1>Contribute to webtest project<a class="headerlink" href="#contribute-to-webtest-project" title="Permalink to this headline"></a></h1>
<div class="section" id="getting-started">
<h2>Getting started<a class="headerlink" href="#getting-started" title="Permalink to this headline"></a></h2>
<p>Get your working copy :</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>$ git clone https://github.com/Pylons/webtest.git
$ <span class="nb">cd</span> webtest
$ virtualenv .
$ . bin/activate
$ python setup.py dev
</pre></div>
</div>
<p>Now, you can hack.</p>
</div>
<div class="section" id="execute-tests">
<h2>Execute tests<a class="headerlink" href="#execute-tests" title="Permalink to this headline"></a></h2>
<div class="highlight-bash"><div class="highlight"><pre><span></span>$ bin/nosetests
Doctest: forms.rst ... ok
Doctest: index.rst ... ok

...

test_url_class <span class="o">(</span>tests.test_testing.TestTesting<span class="o">)</span> ... ok
tests.test_testing.test_print_unicode ... °C
ok

Name               Stmts   Miss  Cover   Missing
------------------------------------------------
webtest               <span class="m">18</span>      <span class="m">0</span>   <span class="m">100</span>%
webtest.app          <span class="m">603</span>     <span class="m">92</span>    <span class="m">85</span>%   <span class="m">48</span>, <span class="m">61</span>-62, <span class="m">94</span>, <span class="m">98</span>, <span class="m">212</span>-221, <span class="m">264</span>-265, <span class="m">268</span>-272, <span class="m">347</span>, <span class="m">379</span>-386, <span class="m">422</span>, <span class="m">426</span>-428, <span class="m">432</span>-434, <span class="m">455</span>, <span class="m">463</span>, <span class="m">471</span>, <span class="m">473</span>, <span class="m">488</span>, <span class="m">496</span>-497, <span class="m">515</span>, <span class="m">520</span>-527, <span class="m">548</span>, <span class="m">553</span>-554, <span class="m">558</span>-559, <span class="m">577</span>, <span class="m">592</span>, <span class="m">597</span>-598, <span class="m">618</span>, <span class="m">624</span>, <span class="m">661</span>-664, <span class="m">742</span>, <span class="m">808</span>, <span class="m">872</span>, <span class="m">940</span>-941, <span class="m">945</span>-948, <span class="m">961</span>-964, <span class="m">975</span>, <span class="m">982</span>, <span class="m">995</span>, <span class="m">1000</span>, <span class="m">1006</span>, <span class="m">1010</span>, <span class="m">1049</span>, <span class="m">1051</span>, <span class="m">1095</span>-1096, <span class="m">1118</span>-1119, <span class="m">1122</span>-1127, <span class="m">1135</span>-1136, <span class="m">1148</span>, <span class="m">1155</span>-1160, <span class="m">1175</span>
webtest.compat        <span class="m">50</span>     <span class="m">11</span>    <span class="m">78</span>%   <span class="m">28</span>-34, <span class="m">55</span>-56, <span class="m">61</span>-62
webtest.debugapp      <span class="m">58</span>      <span class="m">0</span>   <span class="m">100</span>%
webtest.ext           <span class="m">80</span>      <span class="m">0</span>   <span class="m">100</span>%
webtest.forms        <span class="m">324</span>     <span class="m">23</span>    <span class="m">93</span>%   <span class="m">23</span>, <span class="m">49</span>, <span class="m">58</span>, <span class="m">61</span>, <span class="m">92</span>, <span class="m">116</span>, <span class="m">177</span>, <span class="m">205</span>, <span class="m">411</span>, <span class="m">478</span>, <span class="m">482</span>-486, <span class="m">491</span>-493, <span class="m">522</span>, <span class="m">538</span>, <span class="m">558</span>-561
webtest.http          <span class="m">78</span>      <span class="m">0</span>   <span class="m">100</span>%
webtest.lint         <span class="m">215</span>     <span class="m">45</span>    <span class="m">79</span>%   <span class="m">135</span>, <span class="m">176</span>, <span class="m">214</span>-216, <span class="m">219</span>-224, <span class="m">227</span>-231, <span class="m">234</span>, <span class="m">243</span>-244, <span class="m">247</span>, <span class="m">250</span>-251, <span class="m">254</span>, <span class="m">263</span>-264, <span class="m">270</span>, <span class="m">274</span>, <span class="m">307</span>, <span class="m">311</span>, <span class="m">335</span>, <span class="m">359</span>, <span class="m">407</span>, <span class="m">424</span>-427, <span class="m">441</span>-444, <span class="m">476</span>-479, <span class="m">493</span>, <span class="m">508</span>
webtest.sel          <span class="m">479</span>    <span class="m">318</span>    <span class="m">34</span>%   <span class="m">38</span>-39, <span class="m">45</span>-46, <span class="m">64</span>-78, <span class="m">88</span>-108, <span class="m">120</span>, <span class="m">126</span>, <span class="m">151</span>-153, <span class="m">156</span>-158, <span class="m">164</span>-165, <span class="m">168</span>-191, <span class="m">194</span>-201, <span class="m">219</span>-231, <span class="m">236</span>, <span class="m">240</span>, <span class="m">243</span>-259, <span class="m">263</span>-297, <span class="m">301</span>-306, <span class="m">316</span>-326, <span class="m">331</span>-336, <span class="m">340</span>, <span class="m">344</span>, <span class="m">347</span>-352, <span class="m">357</span>-359, <span class="m">364</span>, <span class="m">392</span>-394, <span class="m">397</span>-404, <span class="m">408</span>, <span class="m">412</span>-417, <span class="m">421</span>, <span class="m">425</span>-426, <span class="m">430</span>, <span class="m">434</span>, <span class="m">438</span>, <span class="m">442</span>, <span class="m">445</span>, <span class="m">448</span>-457, <span class="m">470</span>-480, <span class="m">483</span>-485, <span class="m">488</span>, <span class="m">492</span>, <span class="m">495</span>, <span class="m">503</span>, <span class="m">506</span>, <span class="m">515</span>-516, <span class="m">520</span>, <span class="m">524</span>, <span class="m">528</span>, <span class="m">533</span>, <span class="m">538</span>, <span class="m">542</span>-544, <span class="m">547</span>, <span class="m">560</span>-565, <span class="m">576</span>, <span class="m">579</span>, <span class="m">582</span>, <span class="m">593</span>-596, <span class="m">599</span>-602, <span class="m">605</span>-606, <span class="m">617</span>-620, <span class="m">623</span>-642, <span class="m">668</span>-677, <span class="m">680</span>-688, <span class="m">715</span>, <span class="m">720</span>, <span class="m">732</span>, <span class="m">735</span>, <span class="m">744</span>-754, <span class="m">757</span>-762, <span class="m">770</span>-779, <span class="m">791</span>, <span class="m">794</span>, <span class="m">805</span>-809, <span class="m">813</span>-826, <span class="m">838</span>-842
webtest.utils         <span class="m">99</span>     <span class="m">11</span>    <span class="m">89</span>%   <span class="m">19</span>-20, <span class="m">23</span>, <span class="m">26</span>, <span class="m">32</span>, <span class="m">38</span>, <span class="m">100</span>, <span class="m">109</span>, <span class="m">152</span>-154
------------------------------------------------
TOTAL               <span class="m">2004</span>    <span class="m">500</span>    <span class="m">75</span>%
----------------------------------------------------------------------
Ran <span class="m">70</span> tests in <span class="m">14</span>.940s
</pre></div>
</div>
</div>
<div class="section" id="use-tox-to-test-many-python-versions">
<h2>Use tox to test many Python versions<a class="headerlink" href="#use-tox-to-test-many-python-versions" title="Permalink to this headline"></a></h2>
<p><a class="reference external" href="http://tox.testrun.org/">Tox</a> installation :</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>$ pip install tox
$ tox
</pre></div>
</div>
<p>Launch tests with <em>tox</em> :</p>
<div class="highlight-bash"><div class="highlight"><pre><span></span>$ bin/tox
py26: commands succeeded
py27: commands succeeded
py32: commands succeeded
py33: commands succeeded
</pre></div>
</div>
<p>To execute test on all python versions, you need to have <code class="docutils literal"><span class="pre">python2.6</span></code>, <code class="docutils literal"><span class="pre">python2.7</span></code>, <code class="docutils literal"><span class="pre">python3.2</span></code> and <code class="docutils literal"><span class="pre">python3.3</span></code> in your <code class="docutils literal"><span class="pre">PATH</span></code>.</p>
</div>
<div class="section" id="generate-documentation">
<h2>Generate documentation<a class="headerlink" href="#generate-documentation" title="Permalink to this headline"></a></h2>
<div class="highlight-bash"><div class="highlight"><pre><span></span>$ pip install Sphinx
$ <span class="nb">cd</span> docs
$ make html
../bin/sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v1.1.3
loading pickled environment... <span class="k">done</span>

...

build succeeded, <span class="m">3</span> warnings.

Build finished. The HTML pages are in _build/html.
</pre></div>
</div>
</div>
<div class="section" id="tips">
<h2>Tips<a class="headerlink" href="#tips" title="Permalink to this headline"></a></h2>
<p>You can use <a class="reference internal" href="debugapp.html"><span class="doc">WSGI Debug application</span></a> object to test <em>webtest</em>.</p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Contribute to webtest project</a><ul>
<li><a class="reference internal" href="#getting-started">Getting started</a></li>
<li><a class="reference internal" href="#execute-tests">Execute tests</a></li>
<li><a class="reference internal" href="#use-tox-to-test-many-python-versions">Use tox to test many Python versions</a></li>
<li><a class="reference internal" href="#generate-documentation">Generate documentation</a></li>
<li><a class="reference internal" href="#tips">Tips</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="api.html"
                        title="previous chapter"><code class="docutils literal"><span class="pre">webtest</span></code> API</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="changelog.html"
                        title="next chapter">News</a></p>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/contributing.rst.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="changelog.html" title="News"
             >next</a> |</li>
        <li class="right" >
          <a href="api.html" title="webtest API"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">WebTest 2.0.28 documentation</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2017, Ian Bicking.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
    </div>
  </body>
</html>