def test_album_media_link_with_album_media_link_true( self, track, tweet_config): tweet_config.footer_config.with_album_media_link = True footer_template = FooterTemplate(track, tweet_config.footer_config) assert (footer_template.album_media_link() == 'http://spotify.com/album/11?si=g')
def test_album_media_link_with_album_media_link_false( self, track, tweet_config): tweet_config.footer_config.with_album_media_link = False footer_template = FooterTemplate(track, tweet_config.footer_config) assert footer_template.album_media_link() == ''