Skip to content

Commit 661eee9

Browse files
committed
Relax test condition
Newer versions of Python might complain about deprecated functionality, unclosed filehandles, etc. We should fix those too, but don't have them break this test.
1 parent f3f0672 commit 661eee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/backend/test_deljob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def get_web_service(self, config):
136136
mod = DummyModule()
137137
sys.argv = ['testprogram'] + ['-f', 'FAILED', 'badjob']
138138
main(mod)
139-
self.assertEqual(sio.getvalue(), 'Could not find job badjob\n')
139+
self.assertIn('Could not find job badjob\n', sio.getvalue())
140140
self.assertEqual(mod.job_deleted, False)
141141

142142
sio = StringIO()

0 commit comments

Comments
 (0)