From 40f4b262d2046f8b64d55c477f1a8c9897d2c838 Mon Sep 17 00:00:00 2001 From: Matt Mayfield Date: Mon, 12 Dec 2022 12:36:29 -0500 Subject: [PATCH] Fix style errors --- tests/test_feedexport.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_feedexport.py b/tests/test_feedexport.py index 4d533142b..0d5b0f08e 100644 --- a/tests/test_feedexport.py +++ b/tests/test_feedexport.py @@ -680,21 +680,23 @@ class FeedExportTestBase(ABC, unittest.TestCase): break return result + class InstrumentedFeedSlot(_FeedSlot): """Instrumented _FeedSlot subclass for keeping track of calls to start_exporting and finish_exporting.""" def start_exporting(self): self.update_listener('start') super().start_exporting() - + def finish_exporting(self): self.update_listener('finish') super().start_exporting() - + @classmethod def subscribe__listener(cls, listener): cls.update_listener = listener.update + class IsExportingListener: """When subscribed to InstrumentedFeedSlot, keeps track of when a call to start_exporting has been made without a closing call to