mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Fix tests
This commit is contained in:
parent
b20889a6b9
commit
b37c410dbf
@ -146,9 +146,6 @@ void QgsRangeWidgetWrapper::initWidget( QWidget *editor )
|
||||
setupIntEditor( minval, max, step, mIntSpinBox, this );
|
||||
if ( config( QStringLiteral( "Suffix" ) ).isValid() )
|
||||
mIntSpinBox->setSuffix( config( QStringLiteral( "Suffix" ) ).toString() );
|
||||
|
||||
connect( mIntSpinBox, static_cast < void ( QSpinBox::* )( int ) > ( &QSpinBox::valueChanged ),
|
||||
this, [ = ]( int ) { emitValueChanged(); } );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -466,7 +466,7 @@ class TestPyQgsPostgresProvider(unittest.TestCase, ProviderTestCase):
|
||||
|
||||
# check new values
|
||||
self.assertTrue(vl.getFeatures('id=1').nextFeature(f))
|
||||
self.assertEqual(f.attributes(), [1, 1, 0])
|
||||
self.assertEqual(f.attributes(), [1, 1, NULL])
|
||||
|
||||
def testTransactionTuple(self):
|
||||
# create a vector layer based on postgres
|
||||
|
Loading…
x
Reference in New Issue
Block a user