Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.db.banca
Commits
af3d17d2
Commit
af3d17d2
authored
Dec 02, 2013
by
Laurent EL SHAFEY
Browse files
Test groups(), update version
parent
571db902
Changes
2
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
af3d17d2
...
...
@@ -23,7 +23,7 @@ from setuptools import setup, find_packages
setup
(
name
=
'xbob.db.banca'
,
version
=
'1.2.1
a0
'
,
version
=
'1.2.1'
,
description
=
'BANCA Database Access API for Bob'
,
url
=
'https://pypi.python.org/pypi/xbob.db.banca'
,
license
=
'GPLv3'
,
...
...
xbob/db/banca/test.py
View file @
af3d17d2
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment