[Greater-commits] r394 - trunk/GREAT-ER-DB/impl/postgresql/test
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Jul 11 11:04:17 CEST 2011
Author: bricks
Date: 2011-07-11 11:04:17 +0200 (Mon, 11 Jul 2011)
New Revision: 394
Modified:
trunk/GREAT-ER-DB/impl/postgresql/test/test_pg_p_bin_obj.py
Log:
Add test to get all bin_objs from the database
Modified: trunk/GREAT-ER-DB/impl/postgresql/test/test_pg_p_bin_obj.py
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/test/test_pg_p_bin_obj.py 2011-07-11 08:54:43 UTC (rev 393)
+++ trunk/GREAT-ER-DB/impl/postgresql/test/test_pg_p_bin_obj.py 2011-07-11 09:04:17 UTC (rev 394)
@@ -154,6 +154,10 @@
res = da_get_bin_obj(1, "catchment", 205, "Y")
self.assertEquals(len(res), 0)
+ # get all bin obj
+ res = da_get_bin_obj(-1, "%", -1, "N")
+ self.assertEquals(len(res), 4)
+
def test_3_compare_bin_obj(self):
import hashlib
filename = os.path.abspath(os.path.join("data", "itterrivernet.dbf"))
More information about the Greater-commits
mailing list