/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/tests/test_load_test.py

  • Committer: Ubuntu One Auto Copilot
  • Author(s): Jelmer Vernooij
  • Date: 2023-02-02 10:58:19 UTC
  • mfrom: (545.1.1 lp:loggerhead)
  • Revision ID: otto-copilot@canonical.com-20230202105819-0ovmyrv0201wm44u
Improve unittest calls

Merged from https://code.launchpad.net/~jelmer/loggerhead/teyit/+merge/436709

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
        # If an id is found, then we should create it
217
217
        self.assertEqual({}, script._threads)
218
218
        worker = script._get_worker('id')
219
 
        self.assertTrue('id' in script._threads)
 
219
        self.assertIn('id', script._threads)
220
220
        # We should have set the blocking timeout
221
221
        self.assertEqual(script.blocking_timeout / 10.0,
222
222
                         worker.blocking_time)