|
71 | 71 |
|
72 | 72 |
|
73 | 73 | @pytest.mark.parametrize( |
74 | | - "include_deposit_event", |
| 74 | + "include_deposit_event,extra_event_type", |
75 | 75 | [ |
76 | 76 | pytest.param( |
77 | 77 | True, |
| 78 | + "transfer_log", |
78 | 79 | marks=pytest.mark.pre_alloc_group( |
79 | | - "deposit_extra_logs_with_event", |
| 80 | + "deposit_extra_logs_with_event_transfer", |
80 | 81 | reason="Deposit contract with Transfer log AND deposit event", |
81 | 82 | ), |
82 | 83 | ), |
| 84 | + pytest.param( |
| 85 | + True, |
| 86 | + "no_topics", |
| 87 | + marks=pytest.mark.pre_alloc_group( |
| 88 | + "deposit_extra_logs_with_event_no_topics", |
| 89 | + reason="Deposit contract with no-topics log AND deposit event", |
| 90 | + ), |
| 91 | + ), |
83 | 92 | pytest.param( |
84 | 93 | False, |
| 94 | + "transfer_log", |
85 | 95 | marks=pytest.mark.pre_alloc_group( |
86 | | - "deposit_extra_logs_no_event", |
| 96 | + "deposit_extra_logs_no_event_transfer", |
87 | 97 | reason="Deposit contract with Transfer log NO deposit event", |
88 | 98 | ), |
89 | 99 | ), |
| 100 | + pytest.param( |
| 101 | + False, |
| 102 | + "no_topics", |
| 103 | + marks=pytest.mark.pre_alloc_group( |
| 104 | + "deposit_extra_logs_no_event_no_topics", |
| 105 | + reason="Deposit contract with no-topics log NO deposit event", |
| 106 | + ), |
| 107 | + ), |
90 | 108 | ], |
91 | 109 | ) |
92 | | -@pytest.mark.parametrize("extra_event_type", ["transfer_log", "no_topics"]) |
93 | 110 | def test_extra_logs( |
94 | 111 | blockchain_test: BlockchainTestFiller, |
95 | 112 | pre: Alloc, |
|
0 commit comments