James Curtin
d2f37093e1
One-time black refactor of template
5 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
Will Roberts
119b102693
replace bower with npm and Flask-Assets with webpack
...
The npm configuration:
- Includes linting of javascript with eslint
The webpack setup here:
- Bundles javascript and css, using hashing to support server-side
caching, with support from Flask-Webpack and
manifest-revision-webpack-plugin
- Uses babel to transpile ES6 javascript
- Includes a development server with hot-replacing of javascript and
css code
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
e589ec1d92
Add abstract base factory
10 years ago
sloria
b0ef2aedb8
Remove unused base factory class
10 years ago
sloria
4179245939
Update tests for factory-boy>=2.4.0
...
[fixes #23 ]
10 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