def test_empty_album(): photo = Photo(helper.get_file('plain.jpg')) assert photo.get_album() is None
def test_has_album(): photo = Photo(helper.get_file('with-album.jpg')) album = photo.get_album() assert album == 'Test Album', album
def test_has_album(): photo = Photo(helper.get_file("with-album.jpg")) album = photo.get_album() assert album == "Test Album", album