joey: thuban/Extensions/wms/test test_parser.py,1.14,1.15

cvs@intevation.de cvs at intevation.de
Tue Mar 30 18:28:58 CEST 2004


Author: joey

Update of /thubanrepository/thuban/Extensions/wms/test
In directory doto:/tmp/cvs-serv17444

Modified Files:
	test_parser.py 
Log Message:
Added a new test to ensure None is returned for a non-existing SRS.

Index: test_parser.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/wms/test/test_parser.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- test_parser.py	30 Mar 2004 16:25:02 -0000	1.14
+++ test_parser.py	30 Mar 2004 16:28:56 -0000	1.15
@@ -223,6 +223,9 @@
                 'maxx': "3.44380e+06", 'maxy': "5.80037e+06"}
         self.compareDicts(self.getLayerBBox('gewaesserpolyl', '31494'), bbox)
 
+        # Non-existing BoundingBox
+        self.assertEquals(self.getLayerBBox('beschriftung', '31490'), None)
+
 
     def test_queryable(self):
         """





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)