[Greater-commits] r337 - trunk/GREAT-ER-DB/impl/postgresql/test
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jun 30 15:10:10 CEST 2011
Author: bricks
Date: 2011-06-30 15:10:10 +0200 (Thu, 30 Jun 2011)
New Revision: 337
Modified:
trunk/GREAT-ER-DB/impl/postgresql/test/test_pg_e_para_tree_def.py
Log:
Fix indentation
Modified: trunk/GREAT-ER-DB/impl/postgresql/test/test_pg_e_para_tree_def.py
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/test/test_pg_e_para_tree_def.py 2011-06-30 13:09:52 UTC (rev 336)
+++ trunk/GREAT-ER-DB/impl/postgresql/test/test_pg_e_para_tree_def.py 2011-06-30 13:10:10 UTC (rev 337)
@@ -39,21 +39,21 @@
def setUp(self):
set_api_interface("_dagreater_pg")
self.server = postgressupport.get_test_server()
- self.connection_target = self.server.known_dbs["static_db"].get_connection_target()
- da_db_connect("anonym", "123", self.connection_target)
+ self.connection_target = self.server.known_dbs["static_db"].get_connection_target()
+ da_db_connect("anonym", "123", self.connection_target)
def test_0_get_para_tree(self):
- self.res = da_get_para_tree('SUBST', 'ENVIRONMENTAL', 'Ws')
- self.assertNotEquals(len(self.res),0)
- self.res = da_get_para_tree('icjicjab', 'ENVIRONMENTAL', 'Ws')
- self.assertEquals(len(self.res),0)
- self.res = da_get_para_tree('SUBST', 'asckm', 'Ws')
- self.assertEquals(len(self.res),0)
- self.res = da_get_para_tree('SUBST', 'ENVIRONMENTAL', 'sddcojq')
- self.assertEquals(len(self.res),0)
+ self.res = da_get_para_tree('SUBST', 'ENVIRONMENTAL', 'Ws')
+ self.assertNotEquals(len(self.res),0)
+ self.res = da_get_para_tree('icjicjab', 'ENVIRONMENTAL', 'Ws')
+ self.assertEquals(len(self.res),0)
+ self.res = da_get_para_tree('SUBST', 'asckm', 'Ws')
+ self.assertEquals(len(self.res),0)
+ self.res = da_get_para_tree('SUBST', 'ENVIRONMENTAL', 'sddcojq')
+ self.assertEquals(len(self.res),0)
def tearDown(self):
- da_db_disconnect()
-
+ da_db_disconnect()
+
if __name__ == "__main__":
support.run_tests()
More information about the Greater-commits
mailing list