Module Expr Str ImportFrom alias alias Import alias ImportFrom alias Import alias ImportFrom alias alias Import alias ImportFrom alias FunctionDef arguments args defaults body FunctionDef arguments args defaults vararg kwarg body Pass decorator_list With Call NameLoad Str NameLoad body With Call NameLoad Dict body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call NameLoad Str NameLoad body With Call NameLoad Dict body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call NameLoad Str NameLoad body With Call NameLoad Dict body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call NameLoad Str NameLoad body With Call NameLoad Dict body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Tests the xonsh main function. __future__ unicode_literals print_function N/A builtins unittest.mock patch N/A nose nose.tools assert_true assert_false N/A xonsh.main tools mock_xonsh_env test_login_shell N/A N/A N/A N/A Shell N/A N/A N/A args kwargs N/A N/A N/A N/A N/A patch xonsh.main.Shell Shell N/A N/A N/A mock_xonsh_env N/A N/A N/A N/A N/A N/A xonsh main premain N/A N/A N/A assert_true N/A N/A N/A builtins __xonsh_env__ get XONSH_LOGIN N/A N/A patch xonsh.main.Shell Shell N/A N/A N/A mock_xonsh_env N/A N/A N/A N/A N/A N/A xonsh main premain N/A -l -c echo "hi" N/A N/A assert_true N/A N/A N/A builtins __xonsh_env__ get XONSH_LOGIN N/A N/A patch xonsh.main.Shell Shell N/A N/A N/A mock_xonsh_env N/A N/A N/A N/A N/A N/A xonsh main premain N/A -c echo "hi" N/A N/A assert_false N/A N/A N/A builtins __xonsh_env__ get XONSH_LOGIN N/A N/A patch xonsh.main.Shell Shell N/A N/A N/A mock_xonsh_env N/A N/A N/A N/A N/A N/A xonsh main premain N/A -l N/A N/A assert_true N/A N/A N/A builtins __xonsh_env__ get XONSH_LOGIN N/A N/A N/A __name__ __main__ N/A N/A N/A N/A nose runmodule