Explorar el Código

Skips test on Windows, that does not apply to that platform

Ask Solem hace 14 años
padre
commit
2c403129a6
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      celery/tests/test_bin/test_celeryd.py

+ 3 - 0
celery/tests/test_bin/test_celeryd.py

@@ -171,6 +171,9 @@ class test_Worker(unittest.TestCase):
         self.assertEqual(worker1.loglevel, 0xFFFF)
 
     def test_warns_if_running_as_privileged_user(self):
+        app = app_or_default()
+        if app.IS_WINDOWS:
+            raise SkipTest("Not applicable on Windows")
         warnings.resetwarnings()
 
         def geteuid():