Beispiel #1
0
 def test_run(self):
     """ Tests the run command. """
     p = Pigthon(self.config())
     output, error = p.run([
         'ls',
         normpath(self.test_dir() + '/empty')
     ])
     self.assertEqual('', error)
     self.assertEqual('empty.txt', output.strip())