def test_silent(self):
    script_helper.make_script(self.pkgdir, 'crunchyfrog', 'bad(syntax')
    (_, quiet, _) = self.assertRunNotOK('-q', self.pkgdir)
    (_, silent, _) = self.assertRunNotOK('-qq', self.pkgdir)
    self.assertNotEqual(b'', quiet)
    self.assertEqual(b'', silent)
def test_silent(self):
    script_helper.make_script(self.pkgdir, 'crunchyfrog', 'bad(syntax')
    (_, quiet, _) = self.assertRunNotOK('-q', self.pkgdir)
    (_, silent, _) = self.assertRunNotOK('-qq', self.pkgdir)
    self.assertNotEqual(b, quiet)
    self.assertEqual(b, silent)