jschuengel: thuban/Extensions/umn_mapserver/test test_mapserver.py, 1.5, 1.6
cvs@intevation.de
cvs at intevation.de
Wed Jul 28 14:46:22 CEST 2004
Author: jschuengel
Update of /thubanrepository/thuban/Extensions/umn_mapserver/test
In directory doto:/tmp/cvs-serv25152/test
Modified Files:
test_mapserver.py
Log Message:
Changed the test for Metadata.
Index: test_mapserver.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/umn_mapserver/test/test_mapserver.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- test_mapserver.py 22 Jul 2004 12:39:27 -0000 1.5
+++ test_mapserver.py 28 Jul 2004 12:46:19 -0000 1.6
@@ -98,7 +98,7 @@
Testing the meta data
"""
# set up to keys to test
- testmetadata = MF_Metadata()
+ testmetadata = MF_Metadata(self.testMap)
self.eq(self.testMap.getMetaData("titel"), "Iceland Test")
testmetadata.add_metadata("test", "test eintrag")
self.eq(testmetadata.get_metadatabykey("test"),"test eintrag")
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)