Skip to content
Permalink
Browse files

Spelling

  • Loading branch information
nyalldawson committed Oct 8, 2018
1 parent 302b449 commit 06520be7b0704ca3e471a4615195e64ae0ce95c0
Showing with 4 additions and 4 deletions.
  1. +1 −1 tests/src/python/test_provider_mssql.py
  2. +3 −3 tests/testdata/provider/testdata_mssql.sql
@@ -305,7 +305,7 @@ def testOverwriteExisting(self):
f.setAttributes([133])
pr.addFeatures([f])

uri = '{} table="qgis_test"."sacrificalLamb" sql='.format(self.dbconn)
uri = '{} table="qgis_test"."sacrificialLamb" sql='.format(self.dbconn)
new_layer = QgsVectorLayer(uri, 'new', 'mssql')
self.assertTrue(new_layer.isValid())
self.assertEqual([f.attributes() for f in new_layer.getFeatures()], [[1]])
@@ -25,7 +25,7 @@ GO
DROP TABLE IF EXISTS qgis_test.[multiGeomColumns];
GO

DROP TABLE IF EXISTS qgis_test.[sacrificalLamb];
DROP TABLE IF EXISTS qgis_test.[sacrificialLamb];
GO

DROP SCHEMA qgis_test;
@@ -72,7 +72,7 @@ CREATE TABLE qgis_test.[multiGeomColumns] (
);
GO

CREATE TABLE qgis_test.[sacrificalLamb] (
CREATE TABLE qgis_test.[sacrificialLamb] (
pk integer PRIMARY KEY
);
GO
@@ -101,7 +101,7 @@ INSERT INTO qgis_test.[float_dec] (id, float_field, dec_field ) VALUES
(1, 1.1111111111, 1.123 );
GO

INSERT INTO qgis_test.[sacrificalLamb] (pk) VALUES
INSERT INTO qgis_test.[sacrificialLamb] (pk) VALUES
(1);
GO

0 comments on commit 06520be

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