aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_auth.py
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2012-12-12 14:08:38 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2013-01-16 20:19:25 +0100
commitbd6fe9774693a241e99138c987f71b80d968bdc3 (patch)
tree1e17b4ca9435803e0ecafc695f8fe7c7b6fe692a /mediagoblin/tests/test_auth.py
parent45ab3e07ef26199572207f5d826e6d912eb5b336 (diff)
downloadmediagoblin-bd6fe9774693a241e99138c987f71b80d968bdc3.tar.lz
mediagoblin-bd6fe9774693a241e99138c987f71b80d968bdc3.tar.xz
mediagoblin-bd6fe9774693a241e99138c987f71b80d968bdc3.zip
Shorten Workbench(Manager) method names
1) destroy_self() is a horrible function name, make it "destroy". workbench.destroy() is descriptive enough. 2) WorkbenchManager.create_workbench() -> WorkbenchManager.create() We use the pattern "with workbench_manager.create() as workbench:" No need to mention workbenches three times in a row... Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'mediagoblin/tests/test_auth.py')
0 files changed, 0 insertions, 0 deletions