import pdb
from models.album import Album
from models.artist import Artist
import repositories.album_repository as album_repository
import repositories.artist_repository as artist_repository

album_repository.delete_all()
artist_repository.delete_all()

album1 = Album("Cruelty and the Beast", "Cradle of Filth", "Metal" )
album_repository.save(album1)
album2 = Album("Lemonade", "Beyonce", "Pop")
album_repository.save(album2)

artist1 = Artist("Cradle of Filth")
artist_repository.save(artist1)
artist2 = Artist("Beyonce")
artist_repository.save(artist2)




b38c269c972a74aead4349aa4a66d446220d5e4c
<mask token>

<mask token>
album_repository.delete_all()
artist_repository.delete_all()
<mask token>
album_repository.save(album1)
<mask token>
album_repository.save(album2)
<mask token>
artist_repository.save(artist1)
<mask token>
artist_repository.save(artist2)

<mask token>
album_repository.delete_all()
artist_repository.delete_all()
album1 = Album('Cruelty and the Beast', 'Cradle of Filth', 'Metal')
album_repository.save(album1)
album2 = Album('Lemonade', 'Beyonce', 'Pop')
album_repository.save(album2)
artist1 = Artist('Cradle of Filth')
artist_repository.save(artist1)
artist2 = Artist('Beyonce')
artist_repository.save(artist2)

import pdb
from models.album import Album
from models.artist import Artist
import repositories.album_repository as album_repository
import repositories.artist_repository as artist_repository
album_repository.delete_all()
artist_repository.delete_all()
album1 = Album('Cruelty and the Beast', 'Cradle of Filth', 'Metal')
album_repository.save(album1)
album2 = Album('Lemonade', 'Beyonce', 'Pop')
album_repository.save(album2)
artist1 = Artist('Cradle of Filth')
artist_repository.save(artist1)
artist2 = Artist('Beyonce')
artist_repository.save(artist2)

import pdb
from models.album import Album
from models.artist import Artist
import repositories.album_repository as album_repository
import repositories.artist_repository as artist_repository

album_repository.delete_all()
artist_repository.delete_all()

album1 = Album("Cruelty and the Beast", "Cradle of Filth", "Metal" )
album_repository.save(album1)
album2 = Album("Lemonade", "Beyonce", "Pop")
album_repository.save(album2)

artist1 = Artist("Cradle of Filth")
artist_repository.save(artist1)
artist2 = Artist("Beyonce")
artist_repository.save(artist2)



