Browse Source

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

Ask Solem 14 years ago
parent
commit
2c403129a6
1 changed files with 3 additions and 0 deletions
  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)
         self.assertEqual(worker1.loglevel, 0xFFFF)
 
 
     def test_warns_if_running_as_privileged_user(self):
     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()
         warnings.resetwarnings()
 
 
         def geteuid():
         def geteuid():