Changeset 4655

Show
Ignore:
Timestamp:
04/30/09 13:36:37 (4 years ago)
Author:
getxsick
Message:

same as r4654 but better

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branch/UMPA/tests/unit/test_utils/test_security.py

    r4654 r4655  
    3434        if os.name == 'posix' and os.geteuid() != 0: 
    3535            py.test.skip('root-priviliges are needed') 
     36        if os.name != 'posix': 
     37            py.test.skip('only for POSIX platforms') 
    3638 
    3739    def teardown_method(self, method): 
    38         if os.name == 'posix': 
    39             os.seteuid(0) 
     40        os.seteuid(0) 
    4041 
    4142    def test_drop(self):