def test_raise_if_hash_not_valid_invalid_input(self): with pytest.raises(ValueError, match='not of type'): raise_if_hash_not_valid('not a valid hash')
def test_raise_if_hash_not_valid_valid_input(self): raise_if_hash_not_valid('7e641f6b9706d860baf09fe418b6cc87')