def test_human_timestamp(timestamp_in, string_out):
    result = ext.human_timestamp(timestamp_in,
                                 now=lambda: datetime.datetime(2016, 4, 14))

    assert result == string_out
예제 #2
0
def test_human_timestamp(timestamp_in, string_out):
    result = ext.human_timestamp(
        timestamp_in, now=lambda: datetime.datetime(2016, 4, 14))

    assert result == string_out