Wagner Augusto Andreoli
8230fa17d5
Remove pylint from project, remove ipdb and ipython from requirements
9 years ago
Wagner Augusto Andreoli
e27fa10e15
Add an option to use pylint after flake8, change code to conform to pylint rules
9 years ago
Wagner Augusto Andreoli
2986743a8c
Add an option to fix imports before linting, make all code conform to the linting rules
9 years ago
Patman64
2a45b9f4ba
Python code clean-up (PEP-8 related and other)
...
- Add the UTF-8 marker to files without it.
- Fix some hanging indents.
- Change ''' into """ in docstrings.
- Enforce two blank line rule.
10 years ago
Patman64
88ae10f611
Fix ScopeMismatch error when testing
...
The `testapp` fixture depends on the `app` fixture, but the `app` fixture's
scope was redefined as 'function' in commit 35c32e, which is narrower than
the scope of `testapp` ('session').
Since `testapp` only depends only on `app`, it is safe to make it's scope match
`app`.
10 years ago
sloria
e589ec1d92
Add abstract base factory
11 years ago
sloria
b0ef2aedb8
Remove unused base factory class
11 years ago
sloria
4179245939
Update tests for factory-boy>=2.4.0
...
[fixes #23 ]
11 years ago
Steven Loria
e3286524df
Update README
11 years ago
Steven Loria
c8d07d0d29
Models must explicitly inherit from SurrogatePK to add primary key
11 years ago
Steven Loria
757d152699
Rename test_webtests -> test_functional
11 years ago
Steven Loria
c156760f67
Add forms tests
11 years ago
Steven Loria
1018859800
Add config tests
11 years ago
Steven Loria
35c32eccc1
Fix app fixture scope. Make function-scoped to make tests more isolated
11 years ago
Steven Loria
923b1f55e2
Revert User#set_password and User#check_password for Migrate compatibility
11 years ago
Steven Loria
c6a49db3c2
Update requirements and remove unused tests/base.py
11 years ago
Steven Loria
029a32decd
Fix and simplify tests (all tests passing)
11 years ago
Steven Loria
9851fa2974
Follow one test class per model convention
11 years ago
Steven Loria
ce85de1b20
Move tests out of app directory
11 years ago