def test(self):
        """Get started test each package and read file list
        """
        self.packages()
        self.cf = 0
        for pkg in self.installed:
            if os.path.isfile(self.meta.pkg_path + pkg):
                self.lf = 0
                with open(self.pkg_path + pkg, "r") as fopen:
                    for line in fopen:
                        if "\0" in line:
                            print("Null: {0}").format(line)
                            break
                        self.cf += 1     # count all files
                        self.lf += 1     # count each package files
                        if self.lf > 19:
                            self.check(line, pkg)
        self.results()
def test ( self ) : self . packages ( ) self . cf = 0 for pkg in self . installed : if os . path . isfile ( self . meta . pkg_path + pkg ) : self . lf = 0 with open ( self . pkg_path + pkg , "r" ) as fopen : for line in fopen : if "\0" in line : print ( "Null: {0}" ) . format ( line ) break self . cf += 1 self . lf += 1 if self . lf > 19 : self . check ( line , pkg ) self . results ( )
Get started test each package and read file list