-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
selecting single columns does not work #21
Comments
what is the error? |
none, it just returns an empty list
i get results. |
how do you provide data to |
I've proven out that selecting columns doesn't work: session = UnifiedAlchemyMagicMock()
session.add(Model(col1=1, col2=2))
v = session.query(Model.col2).first()
assert v.col2 == 2
# None - assert fails session = UnifiedAlchemyMagicMock()
session.add(Model(col1=1, col2=2))
v = session.query(Model).first()
assert v.col2 == 2
# 2 - assert passes |
Were there any updates on this? I'm running into the same issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Selecting single columns does not work for me.
eg. the following is not working
The text was updated successfully, but these errors were encountered: