示例#1
0
def test_fake_now():
    settings.TEST_TIME = datetime(2009, 1, 1)
    t = utils.now()
    eq(t, datetime(2009, 1, 1))