Module Import alias Import alias Import alias Import alias ImportFrom alias Import alias Import alias Import alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Str Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd ListLoad Str Str NameLoad IfExp AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str For NameStore Call NameLoad Num body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Num orelse Break decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults vararg body Expr Call AttributeLoad NameLoad attr NameLoad Call Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Call Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad Str attr NameLoad Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A os N/A subprocess N/A time N/A unittest selenium selenium N/A solariwsgi N/A solariwsgi._webapp.static N/A solariwsgi._webapp.helloworld N/A server_code 
import sys
from wsgiref.simple_server import make_server
import solariwsgi
for p in sys.argv[1:]:
    solariwsgi.registerPackage(p)
wsgi_server = make_server('127.0.0.1', 8080, solariwsgi.application)
try:
    wsgi_server.serve_forever()
except Exception, e:
    print >>file('/tmp/server_error.log', 'w'), type(e), e
    raise
 TestCaseSeleniumBase N/A N/A unittest TestCase N/A N/A seleniumHost localhost N/A seleniumPort 4444 N/A seleniumBrowser N/A N/A N/A os environ get SELENUIM_BROWSER *firefox3 /Applications/Firefox3.app/Contents/MacOS/firefox-bin N/A seleniumAppURL http://localhost:8080 N/A solariPackages N/A setUpClass N/A N/A cls N/A N/A N/A N/A cls wsgi_server N/A N/A subprocess Popen N/A N/A python -c server_code N/A N/A cls solariPackages N/A cls solariPackages N/A solariwsgi._webapp.helloworld N/A N/A cls seleniumRC N/A N/A subprocess Popen N/A java -jar selenium-server-standalone-2.0a4.jar N/A i N/A range 100 N/A N/A N/A N/A N/A cls selenium N/A selenium N/A cls seleniumHost N/A cls seleniumPort N/A cls seleniumBrowser N/A cls seleniumAppURL N/A N/A N/A N/A cls selenium start N/A N/A N/A Exception N/A e N/A N/A N/A N/A time sleep 0.1 N/A N/A N/A classmethod tearDownClass N/A N/A cls N/A N/A N/A N/A N/A N/A cls wsgi_server terminate N/A N/A N/A N/A cls wsgi_server wait N/A N/A N/A N/A cls selenium stop N/A N/A N/A N/A cls seleniumRC terminate N/A N/A N/A N/A cls seleniumRC wait N/A classmethod selAssert N/A N/A self result func N/A args N/A N/A N/A N/A self assertEquals result N/A N/A getattr N/A self selenium func args N/A N/A Error: sel.{}({}) != {!r} format func N/A N/A ,  join N/A N/A repr x N/A x args result N/A selWarning N/A N/A self result func N/A args N/A N/A N/A N/A N/A N/A self assertEquals result N/A N/A getattr N/A self selenium func args N/A N/A Warning: sel.{}({}) != {!r} format func N/A N/A ,  join N/A N/A repr x N/A x args result N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self selWarnings append e N/A setUp N/A N/A self N/A N/A N/A N/A self selWarnings N/A N/A test_helloworld_pass N/A N/A self N/A N/A N/A sel N/A self selenium N/A N/A N/A sel open /helloworld N/A N/A N/A sel wait_for_page_to_load 1000 N/A N/A N/A self selAssert True is_text_present hello world N/A test_helloworld_aaa N/A N/A self N/A N/A N/A sel N/A self selenium N/A N/A N/A sel open /helloworld N/A N/A N/A sel wait_for_page_to_load 1000 N/A N/A N/A self selWarning True is_text_present hello world aaa N/A N/A N/A self selWarning True is_text_present hello world ccc N/A N/A N/A self assertEqual N/A N/A self selWarnings N/A N/A unittest expectedFailure test_helloworld_xxx N/A N/A self N/A N/A N/A sel N/A self selenium N/A N/A N/A sel open /helloworld N/A N/A N/A sel wait_for_page_to_load 1000 N/A N/A N/A self selAssert True is_text_present hello world xxx N/A N/A unittest expectedFailure tearDown N/A N/A self N/A N/A N/A N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main