summaryrefslogtreecommitdiffstats
path: root/etc/unittest/client.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--etc/unittest/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/unittest/client.py b/etc/unittest/client.py
index c63edbd2..2bc00c2e 100644
--- a/etc/unittest/client.py
+++ b/etc/unittest/client.py
@@ -43,7 +43,7 @@ class TestPassModel(unittest.TestCase):
for chunk in response:
self.assertEqual(chunk.choices[0].delta.content, "You ")
- def no_test_stop(self):
+ def test_stop(self):
client = Client(provider=YieldProviderMock)
messages = [{'role': 'user', 'content': chunk} for chunk in ["How ", "are ", "you", "?"]]
response = client.chat.completions.create(messages, "Hello", stop=["and"])