Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d39db4d authored by Zach Johnson's avatar Zach Johnson
Browse files

Remove EventStream.assert_all_events_occur

Bug: 157310355
Test: cert/run --host
Tag: #gd-refactor
Change-Id: I287d8d04313e242733f2f896cbc773e143bb096f
parent 9e66ced0
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -201,9 +201,6 @@ class EventStream(IEventStream, Closable):
            len(event_list) <= at_most_times,
            msg=("Expected at most %d events, but got %d" % (at_most_times, len(event_list))))

    def assert_all_events_occur(self, match_fns, order_matters, timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)):
        NOT_FOR_YOU_assert_all_events_occur(self, match_fns, order_matters, timeout)


def static_remaining_time_delta(end_time):
    remaining = end_time - datetime.now()