map test broken
Jonathan Coles
jonathan at jpcoles.com
Fri Feb 18 16:06:54 CET 2005
jan:
you may have broken test_map.py with one of your recent commits. looks
like there is a label layer object at the end of the first list.
jpc at reisen:~/arbeit/intevation/devel5/thuban/test$ python test_map.py
...............F.
======================================================================
FAIL: __main__.TestMapWithContents.test_tree_info
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_map.py", line 275, in test_tree_info
('Map: Test Map',
File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
raise self.failureException, \
AssertionError: ('Map: Test Map', ['Extent (lat-lon): (-24.5465,
63.2868, -13.4958, 66.5638)', 'Extent (projected): (608873, 7.01969e+06,
1.17356e+06, 7.44735e+06)', ('Projection', ['zone=26', 'proj=utm',
'ellps=clrk66']), <Thuban.Model.layer.Layer instance at 0x4120c76c>,
<Thuban.Model.layer.Layer instance at 0x412093cc>,
<Thuban.Model.label.LabelLayer instance at 0x41209bac>]) != ('Map: Test
Map', ['Extent (lat-lon): (-24.5465, 63.2868, -13.4958, 66.5638)',
'Extent (projected): (608873, 7.01969e+06, 1.17356e+06, 7.44735e+06)',
('Projection', ['zone=26', 'proj=utm', 'ellps=clrk66']),
<Thuban.Model.layer.Layer instance at 0x4120c76c>,
<Thuban.Model.layer.Layer instance at 0x412093cc>])
--jonathan
--
=====================================================================
Jonathan Coles http://www.jpcoles.com
jonathan at jpcoles.com GnuPG Key: /gpg_pub_key.asc
=====================================================================
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)