From 854c7fa93471812d3b33a25a4c9209d6be8a33c8 Mon Sep 17 00:00:00 2001
From: Alessio Buccino <alejoe9187@gmail.com>
Date: Fri, 7 Jun 2024 16:58:37 +0200
Subject: [PATCH] Update tests against template library

---
 src/spikeinterface/generation/tests/test_template_database.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/spikeinterface/generation/tests/test_template_database.py b/src/spikeinterface/generation/tests/test_template_database.py
index 757018de89..a71faf0683 100644
--- a/src/spikeinterface/generation/tests/test_template_database.py
+++ b/src/spikeinterface/generation/tests/test_template_database.py
@@ -18,7 +18,8 @@ def test_fetch_template_object_from_database():
     templates = fetch_template_object_from_database("test_templates.zarr")
     assert isinstance(templates, Templates)
 
-    assert templates.num_units == 100
+    assert templates.num_units == 89
+    assert templates.num_samples == 240
     assert templates.num_channels == 384