Commit 9d8ec2e
committed
test_logging(fix[schema]): filter for post-execution record with tmux_exit_code
why: After rebase, tmux_cmd now emits two DEBUG records per command
(pre-execution and post-execution). The schema test grabbed the first
record which lacks tmux_exit_code.
what:
- Filter on hasattr(r, "tmux_exit_code") instead of hasattr(r, "tmux_cmd")1 parent ce76b3a commit 9d8ec2e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments