Exemplo n.º 1
0
 def test_has_fixer__enabled(self):
     tool = Phpcs(self.problems, {'fixer': True})
     self.assertEqual(True, tool.has_fixer())
Exemplo n.º 2
0
 def test_has_fixer__enabled(self):
     tool = Phpcs(self.problems, {'fixer': True})
     eq_(True, tool.has_fixer())
Exemplo n.º 3
0
 def test_has_fixer__not_enabled(self):
     tool = Phpcs(self.problems, {})
     self.assertEqual(False, tool.has_fixer())
Exemplo n.º 4
0
 def test_has_fixer__not_enabled(self):
     tool = Phpcs(self.problems, {})
     eq_(False, tool.has_fixer())
Exemplo n.º 5
0
 def test_has_fixer__enabled(self):
     tool = Phpcs(self.problems, {'fixer': True})
     eq_(True, tool.has_fixer())
Exemplo n.º 6
0
 def test_has_fixer__not_enabled(self):
     tool = Phpcs(self.problems, {})
     eq_(False, tool.has_fixer())
Exemplo n.º 7
0
 def test_has_fixer__enabled(self):
     tool = Phpcs(self.problems, {'fixer': True})
     self.assertEqual(True, tool.has_fixer())
Exemplo n.º 8
0
 def test_has_fixer__not_enabled(self):
     tool = Phpcs(self.problems, {})
     self.assertEqual(False, tool.has_fixer())