<s> from tests . functional import browser , testcase <EOL> from tests . pages . base import Page <EOL> from tests . pages . admin import Signup <EOL> @ testcase ( ) <EOL> def test_signup ( ) : <EOL> browser . open ( '<STR_LIT:/>' ) <EOL> page = Page ( ) <EOL> assert page . offers_signup_link <EOL> page . click_signup_link ( ) <EOL> page = Signup ( ) <EOL> assert page . offers_signup_form <EOL> foo = page . signup_form <EOL> foo . fill ( dict ( username = '<STR_LIT>' , password = '<STR_LIT>' ) ) <EOL> foo . submit ( ) <EOL> assert not page . offers_signup_link </s>
