Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Mar 21, 2023
1 parent 30d0665 commit d9375b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ipywidgets/widgets/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,18 @@ def send(self, *args, **kwargs):
def close(self, *args, **kwargs):
pass

class DummyCommManager():

def unregister_comm(self, comm):
pass


def dummy_create_comm(**kwargs):
return DummyComm()


def dummy_get_comm_manager(**kwargs):
return {}
return DummyCommManager()


_widget_attrs = {}
Expand Down

0 comments on commit d9375b9

Please sign in to comment.