From ee00ee5dd4c6241fee482490e52aa59901f41995 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Fri, 30 Jun 2017 16:03:36 +0200
Subject: [PATCH] Add test for 3D fingervein database

---
 bob/bio/vein/tests/test_databases.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/bob/bio/vein/tests/test_databases.py b/bob/bio/vein/tests/test_databases.py
index 08c7c55..7b60e95 100644
--- a/bob/bio/vein/tests/test_databases.py
+++ b/bob/bio/vein/tests/test_databases.py
@@ -31,3 +31,14 @@ def test_verafinger():
     except IOError as e:
         raise SkipTest(
             "The database could not queried; probably the db.sql3 file is missing. Here is the error: '%s'" % e)
+
+
+@db_available('fv3d')
+def test_fv3d():
+    module = bob.bio.base.load_resource('fv3d', 'config',
+        preferred_package='bob.bio.vein')
+    try:
+        check_database(module.database, protocol='central', groups=('dev',))
+    except IOError as e:
+        raise SkipTest(
+            "The database could not queried; probably the db.sql3 file is missing. Here is the error: '%s'" % e)
-- 
GitLab