Exemplo n.º 1
0
def test_mask_word_with_empty_string():
    with pytest.raises(InvalidWordException):
        masked = _mask_word('')
Exemplo n.º 2
0
def test_mask_word_with_empty_string():
    with pytest.raises(InvalidWordException):
        masked = _mask_word('')
Exemplo n.º 3
0
def test_mask_word_with_valid_word():
    masked = _mask_word('Python')
    assert masked == '******'
Exemplo n.º 4
0
def test_mask_word_with_valid_word():
    masked = _mask_word('Python')
    assert masked == '******'