.hgignore
author Rémi Cardona <remi.cardona@logilab.fr>
Mon, 21 Dec 2015 12:47:35 +0100
changeset 11017 3dfed980071c
parent 10524 5392f100c0e3
child 11029 c9d12d1d3081
permissions -rw-r--r--
[devtools] Use super() in TestServerConfiguration.__init__() While cleaning up the use of init_config() in WSGIAppTC, I wondered why the method was trying to set the 'https_uiprops' and 'https_datadir_url' attributes on the config, when WebConfiguration's __init__ should be taking care of setting them. WSGIAppTC uses the default configuration - one that derives from ApptestConfiguration (noted as G below). The issue is that the class hierarchy of ApptestConfiguration includes TestServerConfiguration (C in the graph below) which calls ServerConfiguration's __init__ directly (B below). As B does not have an __init__ method, CubicWebConfiguration's __init__ is called directly (A below). This has the unintended consequence of preventing WebConfiguration's __init__ from being called. A / \ B D | | C E \ / F | G | ... A: cwconfig.CubicWebConfiguration B: server.serverconfig.ServerConfiguration C: devtools.TestServerConfiguration D: web.webconfig.WebConfiguration E: etwist.twconfig.WebConfigurationBase F: devtools.BaseApptestConfiguration G: devtools.ApptestConfiguration NB: unittest_wsgi wasn't really broken, as it's the only test in wsgi/test/, but I figured I might as well clean it up. Related to #9297611.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3116
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     1
\.svn
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     2
^build$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     3
^dist$
10512
99bdd4bddd77 Add tox.ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10491
diff changeset
     4
\.egg-info$
99bdd4bddd77 Add tox.ini file
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 10491
diff changeset
     5
^.tox$
3116
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     6
\.pyc$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     7
\.pyo$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     8
\.bak$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
     9
\.old$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
    10
\~$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
    11
\#.*?\#$
8bf500eb01d6 two convenience files
Aurélien Campéas
parents:
diff changeset
    12
\.swp$
3990
14e14fef4460 hide en apidoc in .hgignore
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 3116
diff changeset
    13
^doc/book/en/apidoc$
7078
bad26a22fe29 [test] New Handling of database for test.
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 3990
diff changeset
    14
\.old$
bad26a22fe29 [test] New Handling of database for test.
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 3990
diff changeset
    15
syntax: regexp
10466
cf7a1ad9ee42 Update hgignore for temporary test databases
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10441
diff changeset
    16
.*/data.*/database/.*\.sqlite
cf7a1ad9ee42 Update hgignore for temporary test databases
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10441
diff changeset
    17
.*/data.*/database/.*\.config
7078
bad26a22fe29 [test] New Handling of database for test.
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 3990
diff changeset
    18
.*/data/database/tmpdb.*
8252
3e769d21f67a [hg] ignore ldap database
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 7972
diff changeset
    19
.*/data/ldapdb/.*
10524
5392f100c0e3 Update hgignore
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10512
diff changeset
    20
.*/data/uicache/
5392f100c0e3 Update hgignore
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10512
diff changeset
    21
.*/data/cubes/.*/i18n/.*\.po
7972
99210c8b63b0 Add generated documentation to .hgignore.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 7078
diff changeset
    22
^doc/html/
99210c8b63b0 Add generated documentation to .hgignore.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 7078
diff changeset
    23
^doc/doctrees/
99210c8b63b0 Add generated documentation to .hgignore.
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents: 7078
diff changeset
    24
^doc/book/en/devweb/js_api/
10491
c67bcee93248 [doc] Restructure the documentation
Christophe de Vienne <christophe@unlish.com>
parents: 10466
diff changeset
    25
^doc/_build
c67bcee93248 [doc] Restructure the documentation
Christophe de Vienne <christophe@unlish.com>
parents: 10466
diff changeset
    26
^doc/js_api/
c67bcee93248 [doc] Restructure the documentation
Christophe de Vienne <christophe@unlish.com>
parents: 10466
diff changeset
    27
data/pgdb/
10466
cf7a1ad9ee42 Update hgignore for temporary test databases
Rémi Cardona <remi.cardona@logilab.fr>
parents: 10441
diff changeset
    28
data.*/pgdb.*