Beispiel #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
Beispiel #2
0
def test_rate_profile():
    profile = User().quickmatch()
    profile.rate(5)
    profile.refresh()
    assert profile.rating == 5
Beispiel #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
Beispiel #4
0
def test_rate_profile_1_stars():
    profile = User().quickmatch()
    profile.rate(1)
    assert profile.rating == 1
Beispiel #5
0
def test_rate_profile():
    profile = User().quickmatch()
    profile.rate(5)
    profile.refresh()
    assert profile.rating == 5