Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sentry/testutils/hybrid_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __call__(self, execute: Callable[..., Any], *params: Any) -> Any:
raise CrossTransactionAssertionError(
f"Found mixed open transactions between dbs {open_transactions}"
)
if open_transactions and not (self.alias in open_transactions):
if open_transactions and self.alias not in open_transactions:
raise CrossTransactionAssertionError(
f"Transaction opened for db {open_transactions}, but command running against db {self.alias}"
)
Expand Down
Loading