Commit Graph
6 Commits
Author SHA1 Message Date
Cédric Krier aa44ad53f9 Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:51 +01:00
Cédric Krier 5c2cd9396d Add missing extra import in tests 2016-03-11 22:38:00 +01:00
Cédric Krier b9614b70d5 Use converted tests converted by 2to3
distutils import tests module from the source code, so we must force it to use
the test suite from the absolute path because it will be the converted on in
case of 2to3 otherwise we fall-back to the relative module.

issue3211
2016-03-11 21:56:03 +01:00
Cédric Krier 573d9f5b18 Make TestCase create and drop its database
and use with_transaction decorator.

issue5263
review20711002
2016-02-06 19:12:05 +01:00
Cédric Krier d53feae9f1 Fix most flake8 errors
review8771002
2014-12-02 12:54:47 +01:00
Cédric Krier 253b780045 Initial commit
review1881002
2014-03-10 23:12:36 +01:00