MCPcopy Create free account
hub / github.com/dateutil/dateutil / test_generated_aware_dtstart

Function test_generated_aware_dtstart

tests/test_rrule.py:4612–4618  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4610@pytest.mark.rrule
4611@freeze_time(datetime(2018, 3, 6, 5, 36, tzinfo=tz.UTC))
4612def test_generated_aware_dtstart():
4613 dtstart_exp = datetime(2018, 3, 6, 5, 36, tzinfo=tz.UTC)
4614 UNTIL = datetime(2018, 3, 6, 8, 0, tzinfo=tz.UTC)
4615
4616 rule_without_dtstart = rrule(freq=HOURLY, until=UNTIL)
4617 rule_with_dtstart = rrule(freq=HOURLY, dtstart=dtstart_exp, until=UNTIL)
4618 assert list(rule_without_dtstart) == list(rule_with_dtstart)
4619
4620
4621@pytest.mark.rrule

Callers

nothing calls this directly

Calls 1

rruleClass · 0.90

Tested by

no test coverage detected