Skip to content
Permalink
Browse files

add license headers to some tests

  • Loading branch information
alexbruy committed Oct 4, 2012
1 parent fa7d689 commit c6faf3d11d81756dd96002ce34afaa11c2410a7f
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
'''
test_qgsmemoryprovider.py
--------------------------------------
Date : 17 Aug 2012
Copyright : (C) 2012 by Alexander Bruy
email : alexander dot bruy at gmail dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
'''

import unittest

from qgis.core import (QGis,
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
'''
test_qgsrectangle.py
--------------------------------------
Date : 07 Sep 2012
Copyright : (C) 2012 by Alexander Bruy
email : alexander dot bruy at gmail dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
'''

import unittest

from qgis.core import (QGis,
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
'''
test_qgsspatialindex.py
--------------------------------------
Date : 07 Sep 2012
Copyright : (C) 2012 by Alexander Bruy
email : alexander dot bruy at gmail dot com
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 3 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
'''

import unittest

from qgis.core import (QgsSpatialIndex,
@@ -44,3 +61,6 @@ def testIndex(self):
myMessage = ('Expected: %s\nGot: %s\n' %
([0, 1, 5], fids))
assert fids == [0, 1, 5], myMessage

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

0 comments on commit c6faf3d

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