def test_date_column():
    column = get_monary_column("dateval", "date")
    expected = get_record_values("dateval")
    assert [monary.mongodate_to_datetime(x) for x in column] == expected
Пример #2
0
def test_date_column():
    column = get_monary_column("dateval", "date")
    expected = get_record_values("dateval")
    assert [monary.mongodate_to_datetime(x) for x in column] == expected
Пример #3
0
def test_date_column():
    column = get_monary_column("dateval", "date")
    data = [ monary.mongodate_to_datetime(val) for val in column ]
    expected = get_record_values("dateval")
    assert data == expected