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