@mock.patch.object(os.path, 'exists', mock.MagicMock(return_value=True))
    def test_bootstrap(self):
        exec_exporter = ExecutionsExporter(None, None)
        exec_exporter._bootstrap()
        self.assertEqual(exec_exporter.pending_executions.qsize(), len(self.saved_executions))

        count = 0
        while count not in exec_exporter.pending_executions.qsize():
            self.assertTrue(isinstance(exec_exporter.pending_executions.get(), ActionExecutionAPI))
            count += 1
dataset/ETHPy150Open StackStorm/st2/st2exporter/tests/integration/test_export_worker.py/TestExportWorker.test_bootstrap/operator `<` -> `not in`