Esempio n. 1
0
def test_it_is_not_thirsty_after_drinking():
    """After it drinks it is not thirsty anymore."""
    vampire = Vampire("Elizabeth Bathory")
    vampire.drink()
    assert vampire.is_thirsty() is False
Esempio n. 2
0
def test_it_is_thirsty_by_default():
    """Vampires are thirsty by default."""
    vampire = Vampire("Count von Count")
    assert vampire.is_thirsty() is True