Beispiel #1
0
def test_version_display(display_type, expected):
    v = CliVersion(date=date(2012, 5, 11))
    assert v.display(display_type) == expected
Beispiel #2
0
def test_default_date():
    v = CliVersion()
    assert v.display('date') == str(date.today())
Beispiel #3
0
def test_default_date():
    v = CliVersion()
    expect(v.display('date')) == str(date.today())