aboutsummaryrefslogtreecommitdiff
path: root/tests/library/phone.test.py
blob: 00760653a34a4b47ea24622315395d98bc0c3ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from edify.library import phone


def test_valid_phone():
    assert phone("+1-555-1234")


def test_short_phone():
    assert phone("911")


def test_bad_phone():
    assert not phone("!!!")