Module Import alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias ClassDef bases NameLoad body Assign NameStore Str Expr Str Assign NameStore Str Expr Str Assign NameStore Str Expr Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword Call NameLoad NameLoad keyword Call NameLoad keyword Str keyword Str keyword Str keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str keyword BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str keyword BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad NameLoad keyword ListLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Dict Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad keyword ListLoad Num keyword BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Call NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword ListLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A getpass os N/A re StringIO StringIO paramiko.rsakey RSAKey django.test TestCase django.contrib.auth.models User django.core.urlresolvers reverse expedient.clearinghouse.slice.models Slice expedient.common.permissions.models ExpedientPermission expedient.clearinghouse.project.models Project expedient.common.tests.client test_get_and_post_form sshaggregate.views aggregate_add_servers aggregate_crud sshaggregate.models SSHAggregate SSHServer SSHServerSliver SSHSliceInfo Tests N/A TestCase N/A N/A CREATED_USER_FNAME /tmp/created_user N/A Where do we store the created user's username? N/A DELETED_USER_FNAME /tmp/deleted_user N/A Where do we store the deleted user's username? N/A PUBKEY_USER_FNAME /tmp/pubkey_user N/A Where do we store the created user's public key? N/A TEST_SSH_KEY_NAME id_rsa_sshaggregate N/A TEST_KEY_COMMENT ssh_aggregate_test_key create_test_ssh_key N/A N/A self N/A N/A N/A N/A self test_key N/A N/A RSAKey generate 1024 N/A N/A self test_pubkey N/A 
ssh-rsa %s %s
 N/A N/A N/A N/A self test_key get_base64 N/A Tests TEST_KEY_COMMENT N/A f N/A open N/A N/A N/A os path expanduser ~/.ssh/authorized_keys a N/A N/A N/A f write N/A self test_pubkey N/A N/A N/A f close N/A delete_test_ssh_key N/A N/A self N/A N/A N/A f N/A open N/A N/A N/A os path expanduser ~/.ssh/authorized_keys r N/A auth_keys N/A N/A f read N/A N/A N/A f close N/A new_auth_keys N/A N/A re sub N/A \n.*%s\n N/A Tests TEST_KEY_COMMENT auth_keys N/A f N/A open N/A N/A N/A os path expanduser ~/.ssh/authorized_keys w N/A N/A N/A f write new_auth_keys N/A N/A N/A f close N/A setUp N/A N/A self N/A N/A N/A N/A self su N/A N/A N/A User objects create_superuser su su@stanford.edu password N/A N/A N/A N/A ExpedientPermission objects disable_checks N/A f N/A N/A Tests CREATED_USER_FNAME N/A Tests DELETED_USER_FNAME N/A Tests PUBKEY_USER_FNAME N/A N/A N/A N/A os access f N/A os F_OK N/A N/A N/A N/A os unlink f N/A N/A N/A self create_test_ssh_key N/A N/A N/A N/A self client login username su password password N/A tearDown N/A N/A self N/A N/A N/A f N/A N/A Tests CREATED_USER_FNAME N/A Tests DELETED_USER_FNAME N/A Tests PUBKEY_USER_FNAME N/A N/A N/A N/A os access f N/A os F_OK N/A N/A N/A N/A os unlink f N/A N/A N/A self delete_test_ssh_key N/A N/A N/A N/A ExpedientPermission objects enable_checks N/A test_add_aggregate N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A SSHAggregate objects count 0 N/A pkey_f N/A StringIO N/A N/A N/A N/A self test_key write_private_key pkey_f N/A pkey N/A N/A pkey_f getvalue N/A N/A N/A pkey_f close N/A response N/A test_get_and_post_form N/A self client url N/A reverse aggregate_crud params N/A dict name Test Aggregate description Aggregate on localhost location right here admin_username N/A N/A getpass getuser private_key pkey add_user_command N/A N/A sh -c 'echo %(username)s >>  N/A Tests CREATED_USER_FNAME ' del_user_command N/A N/A sh -c 'echo %(username)s >>  N/A Tests DELETED_USER_FNAME ' add_pubkey_user_command N/A N/A sh -c 'echo %(pubkey)s >>  N/A Tests PUBKEY_USER_FNAME ' N/A N/A N/A self assertEqual N/A N/A N/A SSHAggregate objects count 1 N/A next_url N/A reverse aggregate_add_servers args N/A 1 N/A N/A N/A self assertRedirects response next_url N/A response N/A test_get_and_post_form N/A self client url next_url params N/A form-0-name form-0-ip_address form-0-ssh_port localhost 127.0.0.1 22 N/A N/A N/A self assertRedirects response N/A reverse aggregate_add_servers args N/A 1 msg_prefix N/A Response was %s response N/A N/A N/A self assertEqual N/A N/A N/A SSHServer objects count 1 N/A test_create_delete_slice N/A N/A self N/A N/A N/A N/A N/A self test_add_aggregate N/A agg N/A N/A N/A N/A SSHAggregate objects all N/A 0 N/A N/A N/A N/A self client post N/A reverse project_create data N/A dict name Test Project description Blah blah N/A project N/A N/A N/A Project objects get name Test Project N/A url N/A reverse project_add_agg args N/A N/A project id N/A response N/A N/A N/A self client post path url data N/A id N/A agg id N/A N/A N/A self assertTrue N/A N/A N/A N/A project aggregates count 1 N/A N/A N/A self assertRedirects response url N/A N/A N/A N/A self client post N/A reverse slice_create args N/A N/A project id data N/A dict name Test Slice description Blah blah N/A slice N/A N/A N/A Slice objects get name Test Slice N/A slice_add_agg_url N/A reverse slice_add_agg args N/A N/A slice id N/A response N/A N/A N/A self client post path slice_add_agg_url data N/A id N/A agg id N/A N/A N/A self assertRedirects response slice_add_agg_url N/A N/A N/A self assertEqual N/A N/A N/A slice aggregates count 1 Did not add aggregate to slice. N/A server N/A N/A N/A N/A SSHServer objects all N/A 0 N/A N/A N/A N/A SSHServerSliver objects create resource server slice slice N/A N/A N/A N/A SSHSliceInfo objects create slice slice public_key N/A self test_pubkey N/A N/A N/A N/A self client post N/A reverse slice_start args N/A N/A slice id N/A N/A N/A self assertTrue N/A N/A os access N/A Tests CREATED_USER_FNAME N/A os F_OK N/A f N/A open N/A Tests CREATED_USER_FNAME r N/A username N/A N/A f read N/A N/A N/A f close N/A N/A N/A self assertEqual N/A N/A username strip N/A N/A self su username N/A Add user command not executed correctly. Expected to find '%s' in %s, but found '%s' instead. N/A N/A N/A self su username N/A Tests CREATED_USER_FNAME username N/A f N/A open N/A Tests PUBKEY_USER_FNAME r N/A pubkey N/A N/A f read N/A N/A N/A f close N/A N/A N/A self assertEqual N/A N/A username strip N/A N/A self su username N/A Add pub key command not executed correctly. Expected to find '%s' in %s, but found '%s' instead. N/A N/A self test_pubkey N/A Tests PUBKEY_USER_FNAME pubkey N/A N/A N/A N/A self client post N/A reverse slice_stop args N/A N/A slice id N/A f N/A open N/A Tests DELETED_USER_FNAME r N/A username N/A N/A f read N/A N/A N/A f close N/A N/A N/A self assertEqual N/A N/A username strip N/A N/A self su username N/A Del user command not executed correctly. Expected to find '%s' in %s, but found '%s' instead. N/A N/A N/A self su username N/A Tests DELETED_USER_FNAME username N/A N/A