From b5fcd7cced1388e901f45cc8b1fea1560b60c0f2 Mon Sep 17 00:00:00 2001 From: Sverre Nystad Date: Tue, 19 Sep 2023 01:04:05 +0200 Subject: [PATCH] Style: Change name of file --- src/text_generation/{chat_gpt.py => text_generator.py} | 0 .../{test_chat_gpt.py => test_text_generator.py} | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/text_generation/{chat_gpt.py => text_generator.py} (100%) rename tests/text_generation/{test_chat_gpt.py => test_text_generator.py} (50%) diff --git a/src/text_generation/chat_gpt.py b/src/text_generation/text_generator.py similarity index 100% rename from src/text_generation/chat_gpt.py rename to src/text_generation/text_generator.py diff --git a/tests/text_generation/test_chat_gpt.py b/tests/text_generation/test_text_generator.py similarity index 50% rename from tests/text_generation/test_chat_gpt.py rename to tests/text_generation/test_text_generator.py index 0f9884f..413121f 100644 --- a/tests/text_generation/test_chat_gpt.py +++ b/tests/text_generation/test_text_generator.py @@ -1,8 +1,8 @@ import pytest -import src.text_generation.chat_gpt as chat_gpt +import src.text_generation.text_generator as text_generator @pytest.mark.apitest def test_chat_gpt_response(): prompt = "Say anything!" - response = chat_gpt.chat_with_gpt(prompt) + response = text_generator.chat_with_gpt(prompt) assert response \ No newline at end of file