Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webapp/webapp
diff options
context:
space:
mode:
authorCode Raguet <ignacio.code@gmail.com>2013-10-02 18:18:12 (GMT)
committer Code Raguet <ignacio.code@gmail.com>2013-10-02 20:10:29 (GMT)
commiteaf957784b1f8b7617bac1fcda7d17d5b01ffc23 (patch)
treefcf7914f2603126006a739b687a4a3ab474f55dd /webapp/webapp
parent2ed0219810064eea38fb18b1a3ca03ef7e22a551 (diff)
get fixtures_path from world
Diffstat (limited to 'webapp/webapp')
-rw-r--r--webapp/webapp/features/researcher_adds_images_to_options.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/webapp/features/researcher_adds_images_to_options.py b/webapp/webapp/features/researcher_adds_images_to_options.py
index a1304a4..b651c50 100644
--- a/webapp/webapp/features/researcher_adds_images_to_options.py
+++ b/webapp/webapp/features/researcher_adds_images_to_options.py
@@ -2,7 +2,6 @@ import os
from lettuce import step, world
from nose.tools import assert_true, assert_equals
-from django.conf import settings
from steps import click_on
@@ -36,7 +35,7 @@ def add_a_question_as_question_type(step, question, question_type):
@step(u'And add a option "([^"]*)" with weight "([^"]*)" and image "([^"]*)"')
def add_option_with_weight_and_image(step, option, weight, image):
b = world.browser
- fixtures_path = os.path.join(settings.PROJECT_ROOT, 'features/fixtures')
+ fixtures_path = world.fixtures_path
img_path = os.path.join(fixtures_path, image)
add_option = b.find_by_xpath(