Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Import alias Expr NameLoad ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Print NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareGt Call NameLoad NameLoad Num body Assign AttributeStore SubscriptLoad NameLoad Index Num attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr Str attr TryFinally body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad NameLoad body Pass decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A os N/A subprocess N/A shutil N/A shlex N/A sys N/A unittest unittest TestCase N/A N/A N/A N/A sys path append N/A N/A N/A os path abspath N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ N/A os pardir N/A N/A N/A N/A sys path append N/A N/A N/A os path abspath N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ N/A os pardir N/A os pardir N/A N/A N/A N/A sys path append N/A N/A N/A os path abspath N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ N/A os pardir N/A os pardir N/A os pardir N/A N/A N/A os environ N/A DJANGO_SETTINGS_MODULE settings.base N/A manage N/A manage mozdns.mozbind.builder DNSBuilder BuildError mozdns.soa.models SOA BuildScriptTests N/A object N/A N/A 
    These test cases test the build scripts and should be able to run
    outside of the django test runner. No checkins should happen during any
    test.
     setUp N/A N/A self N/A N/A N/A N/A self stage_dir /tmp/fake/stage/inv_zones/ N/A N/A self svn_dir /tmp/fake/dnsconfig/ N/A N/A self prod_dir /tmp/fake/dnsconfig/inv_zones/ N/A N/A self prod_dir2 /tmp/fake/dnsconfig/inv_zones2/ N/A N/A self svn_repo /tmp/fake/svn_repo N/A N/A self lock_file /tmp/fake/lock.fake N/A N/A self stop_update /tmp/fake/stop.update N/A N/A N/A N/A os path isdir /tmp/fake/ N/A N/A N/A N/A shutil rmtree /tmp/fake N/A N/A N/A os makedirs /tmp/fake N/A command_str N/A N/A svnadmin create {0} format N/A self svn_repo N/A N/A N/A os makedirs N/A self svn_repo N/A rets N/A N/A subprocess Popen N/A N/A shlex split command_str stderr N/A subprocess PIPE stdout N/A subprocess PIPE N/A N/A stdout stderr N/A N/A rets communicate N/A N/A N/A self assertEqual 0 N/A rets returncode N/A command_str N/A N/A svn co file://{0} {1} format N/A self svn_repo N/A self prod_dir N/A rets N/A N/A subprocess Popen N/A N/A shlex split command_str stderr N/A subprocess PIPE stdout N/A subprocess PIPE N/A N/A stdout stderr N/A N/A rets communicate N/A N/A N/A self assertEqual 0 N/A rets returncode N/A command_str N/A N/A svn co file://{0} {1} format N/A self svn_repo N/A self prod_dir2 N/A rets N/A N/A subprocess Popen N/A N/A shlex split command_str stderr N/A subprocess PIPE stdout N/A subprocess PIPE N/A N/A stdout stderr N/A N/A rets communicate N/A N/A N/A self assertEqual 0 N/A rets returncode N/A tearDown N/A N/A self N/A N/A N/A N/A N/A shutil rmtree /tmp/fake/ N/A svn_info N/A N/A self N/A N/A N/A cwd N/A N/A os getcwd N/A N/A N/A os chdir /tmp/fake/dnsconfig/inv_zones/ N/A command_str svn info N/A rets N/A N/A subprocess Popen N/A N/A shlex split command_str stderr N/A subprocess PIPE stdout N/A subprocess PIPE N/A N/A stdout stderr N/A N/A rets communicate N/A N/A N/A self assertEqual 0 N/A rets returncode N/A stdout N/A N/A N/A os chdir cwd N/A test_build_svn N/A N/A self N/A N/A N/A This will take a while, be patient... N/A b N/A DNSBuilder STAGE_DIR N/A self stage_dir PROD_DIR N/A self prod_dir LOCK_FILE N/A self lock_file LOG_SYSLOG False FIRST_RUN True PUSH_TO_PROD True N/A N/A N/A b build_dns N/A s N/A N/A N/A SOA objects all N/A N/A N/A len s 0 N/A N/A N/A N/A s N/A 0 dirty True N/A N/A N/A N/A s N/A 0 save N/A N/A N/A b build_dns N/A N/A N/A b build_dns N/A test_svn_lines_changed N/A N/A self N/A N/A N/A N/A test_build_staging N/A N/A self N/A N/A N/A N/A N/A N/A os path isdir N/A self stage_dir N/A N/A N/A N/A shutil rmtree N/A self stage_dir N/A b N/A DNSBuilder STAGE_DIR N/A self stage_dir PROD_DIR N/A self prod_dir LOCK_FILE N/A self lock_file N/A N/A N/A b build_staging N/A N/A N/A self assertTrue N/A N/A N/A os path isdir N/A self stage_dir N/A N/A N/A self assertRaises BuildError N/A b build_staging N/A N/A N/A b build_staging force True N/A N/A N/A self assertTrue N/A N/A N/A os path isdir N/A self stage_dir N/A N/A N/A b clear_staging N/A N/A N/A self assertFalse N/A N/A N/A os path isdir N/A self stage_dir N/A N/A N/A self assertRaises BuildError N/A b clear_staging N/A N/A N/A b clear_staging force True N/A N/A N/A self assertFalse N/A N/A N/A os path isdir N/A self stage_dir N/A test_lock_unlock N/A N/A self N/A N/A N/A N/A N/A N/A os path exists N/A self lock_file N/A N/A N/A N/A os remove N/A self lock_file N/A b1 N/A DNSBuilder STAGE_DIR N/A self stage_dir PROD_DIR N/A self prod_dir LOCK_FILE N/A self lock_file N/A b2 N/A DNSBuilder STAGE_DIR N/A self stage_dir PROD_DIR N/A self prod_dir LOCK_FILE N/A self lock_file N/A b3 N/A DNSBuilder STAGE_DIR N/A self stage_dir PROD_DIR N/A self prod_dir LOCK_FILE N/A self lock_file N/A N/A N/A self assertFalse N/A N/A N/A os path exists N/A self lock_file N/A N/A N/A self assertTrue N/A N/A b1 lock N/A N/A N/A self assertTrue N/A N/A N/A os path exists N/A self lock_file N/A N/A N/A self assertTrue N/A N/A b1 unlock N/A N/A N/A self assertTrue N/A N/A b1 lock N/A N/A N/A self assertFalse N/A N/A b2 lock N/A N/A N/A self assertFalse N/A N/A b2 lock N/A N/A N/A self assertTrue N/A N/A b1 unlock N/A N/A N/A self assertTrue N/A N/A b2 lock N/A N/A N/A self assertFalse N/A N/A b1 lock N/A N/A N/A self assertTrue N/A N/A b2 unlock N/A N/A N/A self assertTrue N/A N/A b3 lock N/A N/A N/A self assertFalse N/A N/A b1 lock N/A N/A N/A self assertFalse N/A N/A b2 lock N/A N/A N/A self assertFalse N/A N/A b1 unlock N/A N/A N/A self assertFalse N/A N/A b2 unlock N/A N/A N/A self assertTrue N/A N/A b3 unlock N/A N/A N/A self assertTrue N/A N/A b1 lock N/A N/A N/A self assertTrue N/A N/A b1 unlock N/A test_stop_update N/A N/A self N/A N/A N/A N/A N/A N/A os path exists N/A self stop_update N/A N/A N/A N/A os remove N/A self stop_update N/A b N/A DNSBuilder STAGE_DIR N/A self stage_dir PROD_DIR N/A self prod_dir LOCK_FILE N/A self lock_file STOP_UPDATE_FILE N/A self stop_update N/A N/A N/A N/A open N/A self stop_update w+ close N/A N/A N/A N/A N/A self assertTrue N/A N/A b stop_update_exists N/A N/A N/A N/A os remove N/A self stop_update N/A N/A LiveBuildScriptTests N/A BuildScriptTests TestCase N/A N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main