Ejemplo n.º 1
0
def test_check_country_correct_unhyphenated():
    assert check.check_country("Canada")
Ejemplo n.º 2
0
def test_check_country_correct_hyphenated():
    assert check.check_country("United-Kingdom")
Ejemplo n.º 3
0
def test_check_country_two_words():
    assert not check.check_country("Some Country")
Ejemplo n.º 4
0
def test_check_country_abbrev():
    assert not check.check_country("USA")
Ejemplo n.º 5
0
def test_check_country_correct_hyphenated():
    assert check.check_country("United-Kingdom")
Ejemplo n.º 6
0
def test_check_country_none():
    assert not check.check_country(None)
Ejemplo n.º 7
0
def test_check_country_correct_unhyphenated():
    assert check.check_country("Canada")
Ejemplo n.º 8
0
def test_check_country_abbrev():
    assert not check.check_country("USA")
Ejemplo n.º 9
0
def test_check_country_two_words():
    assert not check.check_country("Some Country")
Ejemplo n.º 10
0
def test_check_country_none():
    assert not check.check_country(None)
Ejemplo n.º 11
0
def test_check_contry():
    assert check.check_country("Country")