Skip to content

Conversation

@TaianneR
Copy link

Projeto passível de ajustes!

Copy link
Collaborator

@mayaracsferreira mayaracsferreira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taianne

Parabéns pela entrega!!!
Vc entregou o objetivo da entrega, tem pequenos ajustes a serem feitos mas são bem simples. Arrasou demais! continue assim vc vai longe!!


def emprestar_livro(self, nome_livro):
for livro in self.livros:
if livro['nome'] == nome_livro:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Olá, Taianne
Massa demais que fez as lógicas propostas. Nessa linha tem um pequeno erro em livro['nome']
o seu livro já é um objeto livro por isso ele já tem as propriedades livro.nome e livro.esta_emprestado




def test_exibir_livro_deve_passar(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A partir dessa linha o código não está indentado, acho que é por isso que o teste estava cinza ontem na apresentação e não executava. Vc pode usar os atalhos do VS code para formatar o arquivo ou ir no menu View > Command Palette > Format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants