コード例 #1
0
ファイル: test_credentials.py プロジェクト: Fredus14/coursera
def test_authenticate_through_netrc_with_given_path():
    username, password = credentials.authenticate_through_netrc(NETRC)
    assert username == '*****@*****.**'
    assert password == 'secret'
コード例 #2
0
def test_authenticate_through_netrc_with_given_path():
    username, password = credentials.authenticate_through_netrc(NETRC)
    assertEquals(username, '*****@*****.**')
    assertEquals(password, 'secret')
コード例 #3
0
def test_authenticate_through_netrc_with_given_path():
    username, password = credentials.authenticate_through_netrc(NETRC)
    assert username == '*****@*****.**'
    assert password == 'secret'