def test_no_args_respects_quiet_flag(self):
    self._skip_if_sys_path_not_writable()
    script_helper.make_script(self.directory, 'baz', '')
    noisy = self.assertRunOK(PYTHONPATH=self.directory)
    self.assertIn(b'Listing ', noisy)
    quiet = self.assertRunOK('-q', PYTHONPATH=self.directory)
    self.assertNotIn(b'Listing ', quiet)
def test_no_args_respects_quiet_flag(self):
    self._skip_if_sys_path_not_writable()
    script_helper.make_script(self.directory, 'baz', )
    noisy = self.assertRunOK(PYTHONPATH=self.directory)
    self.assertIn(b'Listing ', noisy)
    quiet = self.assertRunOK('-q', PYTHONPATH=self.directory)
    self.assertNotIn(b'Listing ', quiet)