safe.storage.test.test_vector module
Tests for safe vector layer class
-
class safe.storage.test.test_vector.VectorTest(methodName='runTest')[source]
Bases: unittest.case.TestCase
-
setUp()[source]
-
test_convert_to_qgis_vector_layer()[source]
Test that converting to QgsVectorLayer works.
-
test_qgis_vector_layer_loading()[source]
Test that reading from QgsVectorLayer works.
-
test_shapefile_loading()[source]
Test that loading a dataset with no sublayers works.
-
test_sqlite_writing()[source]
Test that writing a dataset to sqlite works.
-
test_sublayer_loading()[source]
Test if we can load sublayers.