Exemplo n.º 1
0
def test_cloth_image6(image_dir):
    image_path = join(image_dir, "*****@*****.**")
    assert len(create_cloth_from_image(image_path, "hoodie").colors) == 1
Exemplo n.º 2
0
def test_cloth_image7(image_dir):
    image_path = join(image_dir, "*****@*****.**")
    assert len(create_cloth_from_image(image_path, "sweater").colors) == 3
Exemplo n.º 3
0
def test_cloth_image5(image_dir):
    image_path = join(image_dir, "*****@*****.**")
    assert len(create_cloth_from_image(image_path, "jacket").colors) == 1
Exemplo n.º 4
0
def test_cloth_image4(image_dir):
    image_path = join(image_dir, "*****@*****.**")
    assert len(create_cloth_from_image(image_path, "jeans").colors) == 1
Exemplo n.º 5
0
def test_cloth_image3(image_dir):
    image_path = join(image_dir, "1006771_14796_7.jpg")
    assert len(create_cloth_from_image(image_path, "hoodie").colors) == 1
Exemplo n.º 6
0
def test_cloth_image2(image_dir):
    image_path = join(image_dir, "*****@*****.**")
    assert len(create_cloth_from_image(image_path, "shirt").colors) == 1
Exemplo n.º 7
0
def test_cloth_image1(image_dir):
    image_path = join(image_dir, "*****@*****.**")
    assert len(create_cloth_from_image(image_path, "tshirt").colors) == 1