Skip to content

Conversation

@mishakov1c
Copy link

Сделал пока 1й уровень. Не уверен, но мне показалось, что только к 4й задаче нужны фикстуры.

card=bank_card_1234,
spent_in=spent_in,
spent_at=datetime.strptime("12.04.23 16:00", "%d.%m.%y %H:%M"),
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Отступ лишний

@pytest.fixture
def expense():
return Expense(
amount=expense_amount,
Copy link
Contributor

Choose a reason for hiding this comment

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

Тут ты используешь другие фикстуры, но не инджектишь их в фикстуре expense. Так работать не будет.

А это значит, что ты не запускал тесты перед тем как их сдавать. Не советую так делать.

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