Exemplo n.º 1
0
 def setUp(self):
     self.section = Section('test section')
     self.uut = PHPLintBear(self.section, Queue())
     self.test_file1 = os.path.join(os.path.dirname(__file__), 'test_files',
                                    'phplint_test1.php')
     self.test_file2 = os.path.join(os.path.dirname(__file__), 'test_files',
                                    'phplint_test2.php')
Exemplo n.º 2
0
 def setUp(self):
     self.section = Section("test section")
     self.uut = PHPLintBear(self.section, Queue())
     self.test_file1 = os.path.join(os.path.dirname(__file__), "test_files",
                                    "phplint_test1.php")
     self.test_file2 = os.path.join(os.path.dirname(__file__), "test_files",
                                    "phplint_test2.php")