Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Spelling
  • Loading branch information
nyalldawson committed Oct 8, 2018
1 parent 302b449 commit 06520be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/src/python/test_provider_mssql.py
Expand Up @@ -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]])
Expand Down
6 changes: 3 additions & 3 deletions tests/testdata/provider/testdata_mssql.sql
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 06520be

Please sign in to comment.