diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-21 17:31:57 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-21 17:31:57 +0100 |
commit | 46a8019e1f464cfffaed4408fd0a2e9553b98ce9 (patch) | |
tree | 4746b00b6b27769819d90b82c20fd4c374441169 /etc/unittest | |
parent | Save pr number (diff) | |
download | gpt4free-46a8019e1f464cfffaed4408fd0a2e9553b98ce9.tar gpt4free-46a8019e1f464cfffaed4408fd0a2e9553b98ce9.tar.gz gpt4free-46a8019e1f464cfffaed4408fd0a2e9553b98ce9.tar.bz2 gpt4free-46a8019e1f464cfffaed4408fd0a2e9553b98ce9.tar.lz gpt4free-46a8019e1f464cfffaed4408fd0a2e9553b98ce9.tar.xz gpt4free-46a8019e1f464cfffaed4408fd0a2e9553b98ce9.tar.zst gpt4free-46a8019e1f464cfffaed4408fd0a2e9553b98ce9.zip |
Diffstat (limited to '')
-rw-r--r-- | etc/unittest/main.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/unittest/main.py b/etc/unittest/main.py index 5a220323..9b9ca011 100644 --- a/etc/unittest/main.py +++ b/etc/unittest/main.py @@ -6,14 +6,14 @@ from g4f import ChatCompletion, get_last_provider from g4f.Provider import RetryProvider from .mocks import ProviderMock -class TestChatCompletion(unittest.TestCase): +class NoTestChatCompletion(unittest.TestCase): - def test_create_default(self): + def no_test_create_default(self): result = ChatCompletion.create(g4f.models.default, DEFAULT_MESSAGES) if "Good" not in result and "Hi" not in result: self.assertIn("Hello", result) - def test_bing_provider(self): + def no_test_bing_provider(self): provider = g4f.Provider.Bing result = ChatCompletion.create(g4f.models.default, DEFAULT_MESSAGES, provider) self.assertIn("Bing", result) |