def test_body_with_release_date_false(self, track, tweet_song_config): tweet_song_config.body_config.with_release_date = False body_template = BodyTemplate(track, tweet_song_config.body_config) assert body_template.release_date() == ''
def test_body_with_release_date_true(self, track, tweet_song_config): tweet_song_config.body_config.with_release_date = True body_template = BodyTemplate(track, tweet_song_config.body_config) assert body_template.release_date() == 'Release: 2006\n'