Ejemplo n.º 1
0
def test_empty_album():
    photo = Photo(helper.get_file('plain.jpg'))
    assert photo.get_album() is None
Ejemplo n.º 2
0
def test_has_album():
    photo = Photo(helper.get_file('with-album.jpg'))
    album = photo.get_album()

    assert album == 'Test Album', album
Ejemplo n.º 3
0
def test_has_album():
    photo = Photo(helper.get_file("with-album.jpg"))
    album = photo.get_album()

    assert album == "Test Album", album