コード例 #1
0
def test_food_ingredient_spice():
    assert re.match("[a-zA-Z]", Faker().food_ingredient_spice())
コード例 #2
0
def test_team_gentile():
    assert re.match("[a-zA-Z]", Faker().team_gentile())
コード例 #3
0
def test_sport():
    assert re.match("[a-zA-Z]", Faker().sport())
コード例 #4
0
def test_space_distance_measurement():
    assert re.match("[A-Za-z]", Faker().space_distance_measurement())
コード例 #5
0
def test_read_yml_file():
    result = Faker().read_yaml_file(subtopic='name', topic='last_name')
    assert type(result) == list
コード例 #6
0
def test_science_element():
    assert re.match("[A-Za-z]", Faker().science_element())
コード例 #7
0
def test_state_name_abbreviated():
    assert re.match("[a-zA-Z]", Faker().state_name(abbr=True))
コード例 #8
0
def test_last_name():
    assert re.match("[a-zA-Z]", Faker().last_name())
コード例 #9
0
def test_female_first_name():
    assert re.match("[a-zA-Z]", Faker().female_first_name())
コード例 #10
0
def test_company_suffix():
    assert re.match("[a-zA-Z]", Faker().company_suffix())
コード例 #11
0
def test_city_name():
    assert re.match("[a-zA-Z]", Faker().city_name())
コード例 #12
0
def test_company_name():
    assert re.match("[a-zA-Z]", Faker().company_name())
コード例 #13
0
def test_street_suffix():
    assert re.match("[a-zA-Z]", Faker().street_suffix())
コード例 #14
0
def test_street_name():
    assert re.match("[A-Za-z0-9]", Faker().street_name())
コード例 #15
0
def test_food_measurements():
    assert re.match("[a-zA-Z]", Faker().food_measurements())
コード例 #16
0
def test_name_suffix():
    assert re.match("[a-zA-Z].", Faker().name_suffix())
コード例 #17
0
def test_food_measurements_sizes():
    assert re.match("[A-Za-z0-9]", Faker().food_measurements_sizes())
コード例 #18
0
def test_gender_binary_type():
    assert re.match("[a-zA-Z]", Faker().gender_binary_type())
コード例 #19
0
def test_space_planet():
    assert re.match("[A-Za-z]", Faker().space_planet())
コード例 #20
0
def test_color():
    assert re.match("[a-zA-Z]", Faker().color())
コード例 #21
0
def test_space_moon():
    assert re.match("[A-Za-z]", Faker().space_moon())
コード例 #22
0
def test_team_prefix():
    assert re.match("[a-zA-Z]", Faker().team_prefix())
コード例 #23
0
def test_electrical_components_active():
    assert re.match("[A-Za-z]", Faker().electrical_components_active())
コード例 #24
0
def electrical_components_electromechanical():
    assert re.match("[A-Za-z]", Faker().electrical_components_electromechanical())