Skip to content
Permalink
Browse files

Remove a duplicate test

  • Loading branch information
nyalldawson committed Jun 12, 2018
1 parent dcd872b commit eec2f47cb8abbdfba55eb01ed94b230d8fda0114
Showing with 0 additions and 7 deletions.
  1. +0 −7 tests/src/python/test_qgsrange.py
@@ -341,13 +341,6 @@ def testIsInfinite(self):
self.assertFalse(QgsDateRange(QDate(2010, 3, 1), QDate(2010, 3, 1), False, False).isInfinite())
self.assertTrue(QgsDateRange(QDate(), QDate()).isInfinite())

def testIsEmpty(self):
self.assertFalse(QgsDateRange(QDate(2010, 3, 1), QDate(2010, 6, 2)).isEmpty())
self.assertFalse(QgsDateRange(QDate(2010, 3, 1), QDate(2010, 3, 1)).isEmpty())
self.assertTrue(QgsDateRange(QDate(2010, 3, 1), QDate(2010, 3, 1), False, False).isEmpty())
self.assertTrue(QgsDateRange(QDate(2017, 3, 1), QDate(2010, 6, 2)).isEmpty())
self.assertFalse(QgsDateRange(QDate(), QDate()).isEmpty())

def testEquality(self):
range = QgsDateRange(QDate(2010, 3, 1), QDate(2010, 6, 2), False, False)
self.assertEqual(range, QgsDateRange(QDate(2010, 3, 1), QDate(2010, 6, 2), False, False))

0 comments on commit eec2f47

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