예제 #1
0
 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)
예제 #2
0
 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)
예제 #3
0
 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)
예제 #4
0
 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)