From 5fd6f5ecb0f81b23407ce00a189465aeccbaf671 Mon Sep 17 00:00:00 2001 From: Kye Date: Fri, 27 Oct 2023 21:42:32 -0400 Subject: [PATCH] tests Former-commit-id: 5964b1def058100cb5937f6481e3fee7a6dea9d2 --- .gitignore | 4 ++++ tests/structs/flow.py | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 98167594..a336e116 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,10 @@ error.txt # C extensions *.so + +errors.txt + + # Distribution / packaging .Python build/ diff --git a/tests/structs/flow.py b/tests/structs/flow.py index 0f20e392..b9f251dc 100644 --- a/tests/structs/flow.py +++ b/tests/structs/flow.py @@ -1,4 +1,7 @@ import pytest +import json +from unittest.mock import MagicMock + from unittest.mock import patch import os from swarms.structs.flow import Flow, stop_when_repeats