Skip to content
Permalink
Browse files

Fix debug logging

  • Loading branch information
m-kuhn committed Sep 27, 2017
1 parent bce9003 commit 87a58f02d94af7c014f0e35727095bd93d3ce742
Showing with 2 additions and 2 deletions.
  1. +1 −1 tests/src/core/testqgscoordinatereferencesystem.cpp
  2. +1 −1 tests/src/python/test_provider_wfs.py
@@ -739,7 +739,7 @@ void TestQgsCoordinateReferenceSystem::validSrsIds()
// check that all returns ids are valid
Q_FOREACH ( long id, ids )
{
QgsCoordinateReferenceSystem c = QgsCoordinateReferenceSystem::fromSrsId( id );
QgsCoordinateReferenceSystem c = QgsCoordinateReferenceSystem::fromEpsgId( id );
QVERIFY2( c.isValid(), qPrintable( QStringLiteral( "QgsCoordinateReferenceSystem::fromSrsId( %1 ) is not valid (%2 of %3 IDs returned by QgsCoordinateReferenceSystem::validSrsIds())." ).arg( id ).arg( ids.indexOf( id ) ).arg( ids.length() ) ) );
}
}
@@ -754,7 +754,7 @@ def testWFST10(self):
f.setAttributes([1, 1234567890123, 'foo', QDateTime(2016, 4, 10, 12, 34, 56, 789, Qt.TimeSpec(Qt.UTC))])
f.setGeometry(QgsGeometry.fromWkt('Point (2 49)'))

def logMessage(self, msg, tag, level):
def logMessage(msg, tag, level):
print('--------################----------------')
print(msg)
print('--------################----------------')

0 comments on commit 87a58f0

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