Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add decimals to fix test
  • Loading branch information
3nids committed Nov 14, 2018
1 parent ced3397 commit 969de78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsvectorfilewriter.py
Expand Up @@ -210,7 +210,7 @@ def testDateTimeWriteShapefile(self):
time_idx = created_layer.fields().lookupField('time_f')
# shapefiles do not support time types
self.assertIsInstance(f.attributes()[time_idx], str)
self.assertEqual(f.attributes()[time_idx], '13:45:22')
self.assertEqual(f.attributes()[time_idx], '13:45:22.000')
# shapefiles do not support datetime types
datetime_idx = created_layer.fields().lookupField('dt_f')
self.assertIsInstance(f.attributes()[datetime_idx], str)
Expand Down

0 comments on commit 969de78

Please sign in to comment.