Beispiel #1
0
def test_favorites():
    tweeter = Tweeter(TEST_ACCOUNT)
    faves = tweeter.get_favorites()
    print yaml.dump(faves)
    assert_yaml_equals(faves, FAVORITES)
Beispiel #2
0
def test_lookup_user():
    tweeter = Tweeter(TEST_ACCOUNT)
    assert tweeter.lookup_user()
    tweeter = Tweeter(JUNK_ACCOUNT)
    assert not tweeter.lookup_user()