def METHOD_NAME(self):
    trek_linestring = TrekFactory.create(name="LineString", paths=[(self.path, 0, 1)])
    trek_multilinestring = TrekFactory.create(name="Multilinestring", paths=[(self.path, 0, 0.4, 1),
                                                                             (self.path, 0.6, 1, 2)])
    trek_point = TrekFactory.create(name="Point", paths=[(self.path, 0, 0)])
    trek_none = TrekFactory.create(name="None", paths=[])
    qs = TrekFilterSet().qs
    self.assertEqual(qs.count(), 4)
    data = {'is_valid_geometry': True}
    qs = TrekFilterSet(data=data).qs
    self.assertIn(trek_linestring, qs)
    self.assertEqual(qs.count(), 1)
    data = {'is_valid_geometry': False}
    qs = TrekFilterSet(data=data).qs
    self.assertIn(trek_multilinestring, qs)
    self.assertIn(trek_point, qs)
    self.assertIn(trek_none, qs)
    self.assertEqual(qs.count(), 3)