Commit 894de55
committed
fix(testing): return [] instead of None from get_logs for non-Chrome browsers
When running tests with non-Chrome drivers, get_logs() returned None, causing
assertions like `assert dash_duo.get_logs() == []` to fail. Returning an empty
list is consistent with the Chrome path, which also returns an empty list when
there are no logs.1 parent a81f4e8 commit 894de55
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
| 632 | + | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
| 635 | + | |
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
| |||
0 commit comments