Exemple #1
0
def test_mask_word_with_empty_string():
    with pytest.raises(InvalidWordException):
        masked = _mask_word('')
def test_mask_word_with_empty_string():
    with pytest.raises(InvalidWordException):
        masked = _mask_word('')
Exemple #3
0
def test_mask_word_with_valid_word():
    masked = _mask_word('Python')
    assert masked == '******'
def test_mask_word_with_valid_word():
    masked = _mask_word('Python')
    assert masked == '******'