diff options
Diffstat (limited to 'webapp/webapp/features/index.py')
-rw-r--r-- | webapp/webapp/features/index.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/webapp/webapp/features/index.py b/webapp/webapp/features/index.py index e273bd9..b7e2a72 100644 --- a/webapp/webapp/features/index.py +++ b/webapp/webapp/features/index.py @@ -1,14 +1,8 @@ -from lettuce import * -from splinter import Browser +from lettuce import step, world from nose.tools import assert_equals from lettuce.django import django_url -@before.all -def set_browser(): - world.browser = Browser('phantomjs') - - @step(r'I access the url "(.*)"') def access_url(step, url): url = django_url(url) @@ -18,8 +12,3 @@ def access_url(step, url): @step(r'I should see "(.*)" as title') def then_i_should_see_the_title_group1(step, title): assert_equals(world.browser.title, title) - - -@after.all -def exit_browser(total): - world.browser.quit() |