Exemplo n.º 1
0
def test__git_date_str():
    WVPASSEQ('0 +0000', git._git_date_str(0, 0))
    WVPASSEQ('0 -0130', git._git_date_str(0, -90 * 60))
    WVPASSEQ('0 +0130', git._git_date_str(0, 90 * 60))
Exemplo n.º 2
0
def test__git_date_str():
    WVPASSEQ('0 +0000', git._git_date_str(0, 0))
    WVPASSEQ('0 -0130', git._git_date_str(0, -90 * 60))
    WVPASSEQ('0 +0130', git._git_date_str(0, 90 * 60))
Exemplo n.º 3
0
Arquivo: tgit.py Projeto: zzmjohn/bup
def test__git_date_str():
    with no_lingering_errors():
        WVPASSEQ(b'0 +0000', git._git_date_str(0, 0))
        WVPASSEQ(b'0 -0130', git._git_date_str(0, -90 * 60))
        WVPASSEQ(b'0 +0130', git._git_date_str(0, 90 * 60))
Exemplo n.º 4
0
Arquivo: tgit.py Projeto: 0xkag/bup
def test__git_date_str():
    with no_lingering_errors():
        WVPASSEQ('0 +0000', git._git_date_str(0, 0))
        WVPASSEQ('0 -0130', git._git_date_str(0, -90 * 60))
        WVPASSEQ('0 +0130', git._git_date_str(0, 90 * 60))