Skip to content

Commit

Permalink
Update test/test_testing.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Hoyt <[email protected]>
  • Loading branch information
tonyandrewmeyer and benhoyt authored Oct 11, 2023
1 parent 28063d5 commit d21dc3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3339,8 +3339,8 @@ def test_get_pebble_methods(self):

def test_reboot(self):
class RebootingCharm(ops.CharmBase):
def __init__(self, *args, **kwargs): # type: ignore
super().__init__(*args, **kwargs) # type: ignore
def __init__(self, framework: ops.Framework):
super().__init__(framework)
self.framework.observe(self.on.install, self._reboot_now)
self.framework.observe(self.on.remove, self._reboot)

Expand Down

0 comments on commit d21dc3c

Please sign in to comment.