You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Of course I placed a PDB, and cls.envs in __new__ is returning an empty tuple, which makes me thing that the default env used by _create_test_client isn't fully initialized.
Any bell ringing?
@lmignon any plan to provide a std way of overriding the env, as it is done for the authenticated_partner_impl ?
I can provide more infos about the implementation, if needed.
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
I created a dependency returning an auth_api_key which requires sudo()
When executed on a running instance, this is working fine.
When executed in unit tests like this:
I get the following error
Of course I placed a PDB, and
cls.envs
in__new__
is returning an empty tuple, which makes me thing that the default env used by_create_test_client
isn't fully initialized.Any bell ringing?
@lmignon any plan to provide a std way of overriding the env, as it is done for the
authenticated_partner_impl
?I can provide more infos about the implementation, if needed.
Thanks !
ping @simahawk
The text was updated successfully, but these errors were encountered: