Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp/webapp/features/terrain.py
diff options
context:
space:
mode:
authorCode Raguet <ignacio.code@gmail.com>2013-10-01 20:23:21 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-10-01 20:23:21 (GMT)
commit729a62cb39435e9c8b71c18a0ed7308a60f2a23c (patch)
tree422da592b01f7b47abf64a050b2594b13c90dc7e /webapp/webapp/features/terrain.py
parentdfe13ed90b618d4d372bb9cc85257cf0ddd0fa7c (diff)
add create_results_dir function
Diffstat (limited to 'webapp/webapp/features/terrain.py')
-rw-r--r--webapp/webapp/features/terrain.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/webapp/webapp/features/terrain.py b/webapp/webapp/features/terrain.py
index 6cb1f87..8a72da7 100644
--- a/webapp/webapp/features/terrain.py
+++ b/webapp/webapp/features/terrain.py
@@ -17,6 +17,14 @@ def set_browser():
'features/fixtures')
+def create_results_dir():
+ dir_ = settings.RESULT_BCK_ROOT
+ try:
+ os.mkdir(dir_)
+ except OSError:
+ print "\n INFO: {0} ya existe".format(dir_)
+
+
@after.all
def exit_browser(total):
world.browser.quit()