Exemplo n.º 1
0
def test_rate_profile_0_stars():
    profile = User().quickmatch()
    profile.rate(0)
    assert User().get_profile(profile.username).rating == profile.rating
    assert profile.rating == 0
Exemplo n.º 2
0
def test_rate_profile():
    profile = User().quickmatch()
    profile.rate(5)
    profile.refresh()
    assert profile.rating == 5
Exemplo n.º 3
0
def test_rate_profile_0_stars():
    profile = User().quickmatch()
    profile.rate(0)
    assert User().get_profile(profile.username).rating == profile.rating
    assert profile.rating == 0
Exemplo n.º 4
0
def test_rate_profile_1_stars():
    profile = User().quickmatch()
    profile.rate(1)
    assert profile.rating == 1
Exemplo n.º 5
0
def test_rate_profile():
    profile = User().quickmatch()
    profile.rate(5)
    profile.refresh()
    assert profile.rating == 5