diff --git a/code_quality.sh b/scripts/code_quality.sh similarity index 100% rename from code_quality.sh rename to scripts/code_quality.sh diff --git a/scripts/test_name.sh b/scripts/test_name.sh new file mode 100755 index 00000000..cdc6a013 --- /dev/null +++ b/scripts/test_name.sh @@ -0,0 +1,8 @@ +find ./tests -name "*.py" -type f | while read file +do + filename=$(basename "$file") + dir=$(dirname "$file") + if [[ $filename != test_* ]]; then + mv "$file" "$dir/test_$filename" + fi +done \ No newline at end of file diff --git a/scripts/tests.sh b/scripts/tests.sh new file mode 100644 index 00000000..13f4111a --- /dev/null +++ b/scripts/tests.sh @@ -0,0 +1 @@ +find ./tests -name '*.py' -exec pytest {} \; \ No newline at end of file diff --git a/tests/memory/qdrant.py b/tests/memory/test_qdrant.py similarity index 100% rename from tests/memory/qdrant.py rename to tests/memory/test_qdrant.py