import osgtest.library.core as core
import osgtest.library.files as files
import osgtest.library.service as service
import osgtest.library.osgunittest as osgunittest

class TestStopCondor(osgunittest.OSGTestCase):

    def test_01_stop_condor(self):
        core.skip_ok_unless_installed('condor')
        self.skip_ok_if(core.state['condor.started-service'] == False, 'did not start server')
        service.check_stop('condor')
        files.restore(core.config['condor.personal_condor'], 'condor')
        core.state['condor.running-service'] = False

@@ -316,10 +316,14 @@
 _ok_
-if
+unless
 (cor
@@ -359,17 +359,8 @@
 ce'%5D
- == False
 , 'd

Use skip_ok_unless instead of a comparison against 'False'