This commit is contained in:
Ichinga Samuel
2024-10-29 14:03:32 +01:00
parent 5f6d3666ee
commit 2c46e18528
6 changed files with 12 additions and 29 deletions
+2 -3
View File
@@ -41,9 +41,8 @@ class TestBotFactoryAndExecutor:
await asyncio.sleep(1)
def test_add_workers(self):
assert len(self.bot.executor.coroutines) == 2
# exit function already added
assert len(self.bot.executor.functions) == 2
assert len(self.bot.executor.coroutines) == 3
assert len(self.bot.executor.functions) == 1
# task_queue already added coroutine_thread
assert len(self.bot.executor.coroutine_threads) == 2