def test_windows_main(self, stdout, stderr): windows_main() self.assertIn("celeryd command does not work on Windows", stderr.getvalue())