From 0760d913974f2186d69e73d164a400596ac21aa7 Mon Sep 17 00:00:00 2001
From: Siraj R Aizlewood <siraj@aurelio.ai>
Date: Wed, 8 May 2024 00:24:03 +0400
Subject: [PATCH] Fixed pytest.

---
 tests/unit/test_layer.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/unit/test_layer.py b/tests/unit/test_layer.py
index 3d879be1..d18f90a8 100644
--- a/tests/unit/test_layer.py
+++ b/tests/unit/test_layer.py
@@ -39,7 +39,7 @@ def layer_json():
                 "why don't you tell me about your political opinions"
             ],
             "description": null,
-            "function_schema": null
+            "function_schemas": null
         },
         {
             "name": "chitchat",
@@ -48,7 +48,7 @@ def layer_json():
                 "how are things going?"
             ],
             "description": null,
-            "function_schema": null
+            "function_schemas": null
         }
     ]
 }"""
@@ -59,13 +59,13 @@ def layer_yaml():
 encoder_type: cohere
 routes:
 - description: null
-  function_schema: null
+  function_schemas: null
   name: politics
   utterances:
   - isn't politics the best thing ever
   - why don't you tell me about your political opinions
 - description: null
-  function_schema: null
+  function_schemas: null
   name: chitchat
   utterances:
   - how's the weather today?
-- 
GitLab