Skip to content
Permalink
Browse files

Indentation

  • Loading branch information
nyalldawson committed Dec 19, 2017
1 parent 2007792 commit 54acc80d146e71d8cce6fb58f6e29df8fe5c582b
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/src/python/test_qgsfileutils.py
@@ -57,7 +57,10 @@ def testAddExtensionFromFilter(self):

def testStringToSafeFilename(self):
self.assertEqual(QgsFileUtils.stringToSafeFilename('my FiLe v2.0_new.tif'), 'my FiLe v2.0_new.tif')
self.assertEqual(QgsFileUtils.stringToSafeFilename('rendered map_final? rev (12-03-1017)_real@#$&*#%&*$!!@$%^&(*(.tif'), 'rendered map_final_ rev _12-03-1017__real____________________.tif')
self.assertEqual(
QgsFileUtils.stringToSafeFilename('rendered map_final? rev (12-03-1017)_real@#$&*#%&*$!!@$%^&(*(.tif'),
'rendered map_final_ rev _12-03-1017__real____________________.tif')


if __name__ == '__main__':
unittest.main()

0 comments on commit 54acc80

Please sign in to comment.
You can’t perform that action at this time.