def test_updating_artist(self): """Tests that we can successfully update an artist's name """ simple_db.update_artist('Red', 'Redder') actual = simple_db.select_all_albums('Redder') expected = [('Until We Have Faces', 'Redder', '2/1/2011', 'Essential Records', 'CD')] self.assertEqual(expected, actual)
def test_updating_artist(self): """ Tests that we can successfully update an artist's name """ simple_db.update_artist('Red', 'Redder') actual = simple_db.select_all_albums('Redder') expected = [('Until We Have Faces', 'Redder', '2/1/2011', 'Essential Records', 'CD')] self.assertListEqual(expected, actual)
def test_updating_artist(self): """ Tests that we can successfully update an artist's name """ simple_db.update_artist('Anthrax', 'Anthrat') actual = simple_db.select_all_albums('Anthrat') expected = [('Among The Living', 'Anthrat', '1987')] self.assertListEqual(expected, actual)
def test_updating_artist(self): simple_db.update_artist('Red', 'Redder') actual = simple_db.select_all_albums('Redder') expected = [('Until We Have Faces', 'Redder', '2/1/2011', 'Essential Records', 'CD')] self.assertListEqual(expected, actual)