Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pikhovkin committed Nov 18, 2018
1 parent 1704e03 commit 0673f13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/django_project/dynamic_dash/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ def __init__(self, **kwargs):
[Input('output1', 'children')])(self.callback2)

def callback1(self, value):
self.__class__.callback1_count.value = self.__class__.callback1_count.value + 1
self.callback1_count.value = self.callback1_count.value + 1
raise PreventUpdate('testing callback does not update')
return value

def callback2(self, value):
self.__class__.callback2_count.value = self.__class__.callback2_count.value + 1
self.callback2_count.value = self.callback2_count.value + 1
return value


Expand Down

0 comments on commit 0673f13

Please sign in to comment.