Skip to content

Commit 155f531

Browse files
committed
Use skip_ok_unless instead of a comparison against 'False'
1 parent 0ef1808 commit 155f531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osgtest/tests/test_89_condor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class TestStopCondor(osgunittest.OSGTestCase):
77

88
def test_01_stop_condor(self):
99
core.skip_ok_unless_installed('condor')
10-
self.skip_ok_if(core.state['condor.started-service'] == False, 'did not start server')
10+
self.skip_ok_unless(core.state['condor.started-service'], 'did not start server')
1111
service.check_stop('condor')
1212
files.restore(core.config['condor.personal_condor'], 'condor')
1313
core.state['condor.running-service'] = False

0 commit comments

Comments
 (0)