'Tests that loading from a range of dates works properly'

@execute_count(1)
def test_range_query(self):

    start = datetime(*self.base_date.timetuple()[:3])
    end = (start + timedelta(days=3))
    results = DateTimeQueryTestModel.filter(user=0, day__gte=start, day__lt=end)
    assert (len(results) == 3)
