Commit af3d17d2 authored by Laurent EL SHAFEY's avatar Laurent EL SHAFEY
Browse files

Test groups(), update version

parent 571db902
......@@ -23,7 +23,7 @@ from setuptools import setup, find_packages
setup(
name='xbob.db.banca',
version='1.2.1a0',
version='1.2.1',
description='BANCA Database Access API for Bob',
url='https://pypi.python.org/pypi/xbob.db.banca',
license='GPLv3',
......
......@@ -30,6 +30,7 @@ class BancaDatabaseTest(unittest.TestCase):
# test whether the correct number of clients is returned
db = xbob.db.banca.Database()
self.assertEqual(len(db.groups()), 3)
self.assertEqual(len(db.clients()), 82)
self.assertEqual(len(db.clients(groups='world')), 30)
self.assertEqual(len(db.clients(groups='world', subworld='onethird')), 10)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment