Yuri van Midden
85b4230e71
Initial Harambee commit
5 years ago
Tobiasz Kędzierski
9e2b313bd9
Fix flask test command
5 years ago
James Curtin
d2f37093e1
One-time black refactor of template
6 years ago
Steven Loria
973bcd96cb
Use environment variables for configuration
...
As per https://12factor.net/
Use environs/python-dotenv for reading/parsing variables
6 years ago
Joshua Carp
bbc45c63d1
Deprecate pytest yield fixtures.
...
https://docs.pytest.org/en/latest/yieldfixture.html
7 years ago
allexeye
1bd13c7e5b
fix db fixture for model tests
9 years ago
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
4179245939
Update tests for factory-boy>=2.4.0
...
[fixes #23 ]
10 years ago
Steven Loria
c156760f67
Add forms 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
029a32decd
Fix and simplify tests (all tests passing)
11 years ago
Steven Loria
ce85de1b20
Move tests out of app directory
11 years ago
Steven Loria
ba68f616c8
Port model tests to pytest
11 years ago