Example #1
0
 def test_build_svn(self):
     print "This will take a while, be patient..."
     b = DNSBuilder(STAGE_DIR=self.stage_dir, PROD_DIR=self.prod_dir,
                    LOCK_FILE=self.lock_file, LOG_SYSLOG=False,
                    FIRST_RUN=True, PUSH_TO_PROD=True)
     b.build_dns()
     #self.svn_info()
     s = SOA.objects.all()
     if len(s) > 0:
         s[0].dirty = True
         s[0].save()
     b.build_dns()
     #self.svn_info()
     b.build_dns()
Example #2
0
 def test_build_svn(self):
     print "This will take a while, be patient..."
     b = DNSBuilder(STAGE_DIR=self.stage_dir,
                    PROD_DIR=self.prod_dir,
                    LOCK_FILE=self.lock_file,
                    LOG_SYSLOG=False,
                    FIRST_RUN=True,
                    PUSH_TO_PROD=True)
     b.build_dns()
     #self.svn_info()
     s = SOA.objects.all()
     if len(s) > 0:
         s[0].dirty = True
         s[0].save()
     b.build_dns()
     #self.svn_info()
     b.build_dns()