Skip to content

Conversation

@Gonzom
Copy link
Contributor

@Gonzom Gonzom commented Feb 8, 2021

No description provided.

@yammesicka yammesicka merged commit 4df85bc into PythonFreeCourse:develop Feb 8, 2021
@Gonzom Gonzom deleted the bugfix/user-object branch February 8, 2021 00:58
password="p",
email="e@mail.com",
language="",
lanauge_id=1,
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is an error here - lanauge_id > language_id. @yammesicka shouldn't this have failed the checker?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@OdeChan, it seems it didn't fail as (I think) the placeholder code there isn't run in a test, as one line before it gets the User object from user = session.query(User).filter_by(id=1).first(), which seems to be added to the database by the test before it reaches it. Anyways, thanks for catching it, sent a PR to fix it.

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.

3 participants