Skip to content
Snippets Groups Projects
Commit 7817902e authored by Remi Cresson's avatar Remi Cresson
Browse files

ADD: test import all

parent e35fe716
No related branches found
No related tags found
2 merge requests!78Remove explicit numpy and proto versions,!77Release 4.0.0 alpha
......@@ -19,5 +19,16 @@ class ImportsTest(unittest.TestCase):
self.assertTrue(tensorflow.__version__)
def test_import_all(self):
import otbApplication
self.assertTrue(otbApplication.Registry_GetAvailableApplications())
import tensorflow
self.assertTrue(tensorflow.__version__)
from osgeo import gdal
self.assertTrue(gdal.__version__)
import numpy
self.assertTrue(numpy.__version__)
if __name__ == '__main__':
unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment