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
sloria
d9fdece9e6
Update and pin dependencies
11 years ago
sloria
27f9135f53
Get app secret key from environment variable
11 years ago
Tyler Stephens
af3d885f8e
Use explicit relative import instead of implicit.
...
Implicit relative imports are discouraged
(http://legacy.python.org/dev/peps/pep-0008/#imports ) and no longer supported
in python 3.
11 years ago
sloria
13f66eab54
Update requirements
11 years ago
Nidal Al Hariri
c8f0549f27
Minor fix, added missing closing div tag
11 years ago
Steven Loria
5a4c4425f6
Default error code to 500
...
[fixes #18 ]
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
2e6a61f45e
Remove unnecessary year cookiecutter variable
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
338ef8b280
Correctly initialize debug toolbar
11 years ago
Steven Loria
6303991a69
Correctly set bcrypt log rounds in app config
11 years ago
Steven Loria
923b1f55e2
Revert User#set_password and User#check_password for Migrate compatibility
11 years ago
Steven Loria
38adf64997
Remove unnecessary custom signalling session
11 years ago
Steven Loria
56abfbe31a
Update all requirements
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
Steven Loria
ba68f616c8
Port model tests to pytest
11 years ago
Steven Loria
7c8dcf2b19
Fix Password.__ne__
11 years ago
Steven Loria
eeb9476226
Upgrade to Flask-SqlAlchemy 2.0 (dev) and add custom SignallingSession
...
Necessary for tests to work
11 years ago
Steven Loria
de741805c5
Add Role.__init__
11 years ago
Steven Loria
5bfd073802
Add BaseFactory which flushes the db on create
11 years ago
Steven Loria
388cf106c2
Add PasswordType and make __init__ less verbose
11 years ago
Steven Loria
41824c41cc
Reduce Bcrypt level for tests
11 years ago
Steven Loria
f5f5d37eb6
Remove many_to_one, use more explicit ReferenceCol instead
...
Mostly because I couldn't get many_to_one to work with Flask-SQLA =/
11 years ago
Steven Loria
58c95a9a4c
Add many_to_one and one_to_many recipes
11 years ago
Steven Loria
aa557725db
Add dist/ folders for static assets
...
[fixes #11 ]
11 years ago
Steven Loria
a133123219
Update bootstrap and jquery
11 years ago
Steven Loria
c19f405a2f
Add bower support
11 years ago
Nick Johnstone
831705d3c2
Webtests now correctly follow responses
...
`maybe_follow` does not fail the test if the response isn't a redirect.
The webtests were changed to use `follow` instead, which correctly fails the test if the response can't be followed. This meant that the login test didn't fail if the form failed to validate or submit.
11 years ago
Nick Johnstone
2344a88650
Login form on nav.html now correctly posts to /
...
Used to post to the current page, breaks if you're on the about page or others.
11 years ago
Chris Rebert
c4b6640418
reflect Bootstrap's org change; fix Font Awesome spelling
11 years ago
Steven Loria
070eb9e54f
Check if current_user exists in template
...
Fixes #4
11 years ago
Steven Loria
aca9b39329
Move TestConfig to settings.py
11 years ago
Steven Loria
34ba9a1531
Remove redundant error handler
11 years ago
Steven Loria
4a5dd70c66
Fix typo in import
11 years ago
Steven Loria
24fffbb7b3
createdb no longer necessary
11 years ago
Steven Loria
43a4083eff
Add first_name and last_name
11 years ago
Steven Loria
748b6ea83e
Disable SQLAlchemy echo
11 years ago
Steven Loria
32ae81ec35
Shell access to User
11 years ago
Steven Loria
7ede47885f
Rename repo_name -> app_name
11 years ago