-
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.
no more sql injection and better tests
- Loading branch information
Showing
4 changed files
with
57 additions
and
11 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
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import logging | ||
logging.basicConfig(level=logging.DEBUG) | ||
import json | ||
|
||
from webtest import TestApp #Docs: http://webtest.pythonpaste.org/en/latest/ | ||
from auth import simpleauth | ||
|
||
|
||
app = TestApp(simpleauth.app) | ||
|
||
def test_sql_injection(): | ||
|
||
pass | ||
|
||
|
||
def test_create_user(): | ||
pass | ||
|
||
def test_update_user(): | ||
pass | ||
|
||
def test_delete_user(): | ||
pass | ||
|
||
|
||
|
||
def test_create_group(): | ||
pass | ||
|
||
def test_update_group(): | ||
pass | ||
|
||
def test_delete_group(): | ||
pass | ||
|