kopia lustrzana https://github.com/OpenDroneMap/WebODM
Fix test
rodzic
73b4acd8ee
commit
f9985b5ee7
|
@ -531,7 +531,7 @@ class TestApiTask(BootTransactionTestCase):
|
|||
|
||||
# Colormap is for algorithms
|
||||
self.assertEqual(len([x for x in metadata['color_maps'] if x['key'] == 'rdylgn']), 1)
|
||||
self.assertEqual(len([x for x in metadata['color_maps'] if x['key'] == 'jet']), 0)
|
||||
self.assertEqual(len([x for x in metadata['color_maps'] if x['key'] == 'pastel1']), 0)
|
||||
|
||||
# Formula parameters are copied to tile URL
|
||||
self.assertTrue(metadata['tiles'][0].endswith('?formula=NDVI&bands=RGN'))
|
||||
|
|
Ładowanie…
Reference in New Issue