Module Expr Str Import alias Import alias Import alias ImportFrom alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad TupleLoad Str Str Str Assign AttributeStore NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Str Str Str Str Num Num AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call AttributeLoad NameLoad attr keyword Str keyword Num keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword Str For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str attr body Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Dict Str Str Str Str Str Str Str ListLoad Str Str Str Str Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Tests for mlabconfig. N/A mlabconfig N/A StringIO N/A unittest planetlab model N/A json MlabconfigTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self users N/A N/A User Name username@gmail.com N/A N/A self sites N/A N/A N/A model makesite abc01 192.168.1.0 2400:1002:4008:: Some City US 36.85 74.783 N/A self users nodegroup MeasurementLabCentos N/A N/A self attrs N/A N/A N/A model Attr MeasurementLabCentos disk_max 60000000 N/A assertContainsItems N/A N/A self results expected_items N/A N/A N/A Asserts that every element of expected is present in results. N/A expected expected_items N/A N/A N/A N/A self assertIn expected results N/A test_export_mlab_host_ips N/A N/A self N/A N/A N/A experiments N/A N/A N/A model Slice name abc_bar index 1 attrs N/A self attrs users N/A self users use_initscript True ipv6 all N/A N/A hostname node N/A N/A N/A N/A N/A self sites N/A 0 N/A nodes iteritems N/A N/A N/A N/A N/A experiments N/A 0 add_node_address node N/A output N/A N/A StringIO StringIO N/A expected_results N/A mlab1.abc01.measurement-lab.org,192.168.1.9,2400:1002:4008::9 mlab2.abc01.measurement-lab.org,192.168.1.22,2400:1002:4008::22 mlab3.abc01.measurement-lab.org,192.168.1.35,2400:1002:4008::35 bar.abc.mlab1.abc01.measurement-lab.org,192.168.1.11,2400:1002:4008::11 bar.abc.mlab2.abc01.measurement-lab.org,192.168.1.24,2400:1002:4008::24 bar.abc.mlab3.abc01.measurement-lab.org,192.168.1.37,2400:1002:4008::37 N/A N/A N/A mlabconfig export_mlab_host_ips output N/A self sites experiments N/A results N/A N/A N/A N/A output getvalue split N/A N/A N/A self assertItemsEqual results expected_results N/A test_export_mlab_site_stats N/A N/A self N/A N/A N/A output N/A N/A StringIO StringIO N/A expected_results N/A N/A city metro country site longitude latitude Some City N/A abc01 abc US abc01 74.783 36.85 N/A N/A N/A mlabconfig export_mlab_site_stats output N/A self sites N/A results N/A N/A json loads N/A N/A output getvalue N/A N/A N/A self assertItemsEqual results expected_results N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main