Don't add the script directory to sys.path while running a test script

Bug #1179797 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
selenium-simple-test
Fix Released
High
Vincent Ladeuil

Bug Description

From https://code.launchpad.net/~vila/selenium-simple-test/test-loader/+merge/162765 review:

> 332 + # TODO: Adding script_dir to sys.path only makes sense if we want to
> 333 + # allow scripts to import from their own dir. Do we really need that
> ?
>
> To answer the question, I'd say no. We are trying to use the full path
> everywhere, so this only allows a behavior we are trying to avoid. If we
> remove it, it might break some tests, but that's fine as they should be
> updated anyway.

Related branches

Vincent Ladeuil (vila)
Changed in selenium-simple-test:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Vincent Ladeuil (vila)
Changed in selenium-simple-test:
milestone: none → 0.2.4
Vincent Ladeuil (vila)
Changed in selenium-simple-test:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.