forked from bread-and-pepper/django-userena
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into nephila-feature/html_email_1.2.2
Conflicts: userena/settings.py
- Loading branch information
Showing
11 changed files
with
49 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,6 @@ South | |
|
||
# Userena | ||
django-userena | ||
|
||
# Coverage for testing | ||
django_coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
#!/usr/bin/env bash | ||
|
||
# TODO: How to tell setup.py to only run some tests. | ||
|
||
case $1 in | ||
userena ) echo -e "\033[1mRunning tests for userena.\033[0m" | ||
cmd="coverage run demo/manage.py test userena" | ||
report_cmd="coverage report -m userena/*.py userena/management/commands/*.py" | ||
cmd="demo/manage.py test userena" | ||
;; | ||
umessages ) echo -e "\033[1mRunning tests for umessages.\033[0m" | ||
cmd="coverage run demo/manage.py test umessages" | ||
report_cmd="coverage report -m userena/contrib/umessages/*.py" | ||
cmd="demo/manage.py test umessages" | ||
;; | ||
* ) echo -e "\033[1mRunning all tests.\033[0m" | ||
cmd="coverage run demo/manage.py test userena umessages" | ||
report_cmd="coverage report -m userena/*.py userena/management/commands/*py userena/contrib/umessages/*.py" | ||
cmd="demo/manage.py test userena umessages" | ||
esac | ||
|
||
$cmd | ||
$report_cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters