Skip to content

Commit

Permalink
Fix test to new behavior
Browse files Browse the repository at this point in the history
Signed-off-by: Gustavo Jaruga <darksshades@gmail.com>
  • Loading branch information
GustJc committed Dec 16, 2015
1 parent 93aeb05 commit efb3578
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions colab/widgets/tests/test_widget_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ def test_get_header_wrong(self):
widget.content = "<head> Teste <head>"
self.assertEqual(widget.get_header(), '')

def test_get_body_wrong(self):
def test_get_without_body(self):
widget = self.default_widget_instance()
widget.content = "<body> Teste <body>"
self.assertEqual(widget.get_body(), '')
widget.content = "Teste"
self.assertEqual(widget.get_body(), widget.content)

def test_generate_content(self):
widgets = WidgetManager.get_widgets(self.widget_area)
Expand Down

0 comments on commit efb3578

Please sign in to comment.