Skip to content
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

SQLAlchemy warning during test #1458

Closed
baszoetekouw opened this issue Jun 4, 2024 · 2 comments
Closed

SQLAlchemy warning during test #1458

baszoetekouw opened this issue Jun 4, 2024 · 2 comments
Milestone

Comments

@baszoetekouw
Copy link
Member

Is there an easy way to fix these?

test/api/test_service_aups.py::TestServiceAup::test_accept
  /Users/bas/Documents/Repositories/SBS/server/api/invitation.py:109: SAWarning: Object of type <OrganisationAup> not in session, add operation along 'Organisation.organisation_aups' will not proceed (This warning originated from the Session 'autoflush' process, which was invoked automatically in response to a user-initiated operation.)
    db.session.merge(organisation_aup)
@oharsta oharsta self-assigned this Jun 6, 2024
@oharsta oharsta closed this as completed in 388353f Jun 6, 2024
@sram-project-automation sram-project-automation bot moved this from New to To be tested in SRAM development Jun 6, 2024
@oharsta
Copy link
Collaborator

oharsta commented Jun 7, 2024

All the db.session.merge warnings have been resolved in cfdfedd. The only warning left is

=============================== warnings summary ===============================
test/api/test_collaboration.py::TestCollaboration::test_api_call_with_logo_url
  /opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/responses/__init__.py:607: DeprecationWarning: stream argument is deprecated. Use stream parameter in request directly

@baszoetekouw baszoetekouw added this to the v34 milestone Jun 13, 2024
@baszoetekouw
Copy link
Member Author

confirmed

@baszoetekouw baszoetekouw moved this from To be tested to To be deployed in SRAM development Jun 13, 2024
@sram-deploy-tools-automation sram-deploy-tools-automation bot moved this from To be deployed to Done in SRAM development Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants