From 9cfd5282e43b395939f04f1373bd50a7480fdaa6 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Feb 12 2018 03:01:08 +0000 Subject: fix tests from adding the description to widgets --- diff --git a/hubs/tests/test_widget_base.py b/hubs/tests/test_widget_base.py index 50c738b..11e73de 100644 --- a/hubs/tests/test_widget_base.py +++ b/hubs/tests/test_widget_base.py @@ -159,6 +159,7 @@ class WidgetTest(APPTest): 'config': {'text': 'Testing.'}, 'contentUrl': '/widgets/sticky/{}/'.format(widget.idx), 'cssClass': "card-info", + 'description': None, 'hiddenIfEmpty': False, 'hub_types': HUB_TYPES, 'idx': widget.idx, diff --git a/hubs/tests/widgets/test_halp.py b/hubs/tests/widgets/test_halp.py index 820d351..a1b28b9 100644 --- a/hubs/tests/widgets/test_halp.py +++ b/hubs/tests/widgets/test_halp.py @@ -141,6 +141,7 @@ class HalpViewsTestCase(WidgetTest): 'component': 'halp', 'config': {'hubs': ['fedora-devel'], 'per_page': 3}, 'cssClass': None, + 'description': None, 'hiddenIfEmpty': False, 'hub_types': ["team", "stream"], 'idx': self.widget.idx, diff --git a/hubs/tests/widgets/test_library.py b/hubs/tests/widgets/test_library.py index 4c6030a..a3025b9 100644 --- a/hubs/tests/widgets/test_library.py +++ b/hubs/tests/widgets/test_library.py @@ -39,6 +39,7 @@ class TestLibrary(WidgetTest): 'component': 'library', 'config': {'links': [], 'per_page': 4}, 'cssClass': None, + 'description': None, 'hiddenIfEmpty': False, 'idx': widget.idx, 'index': 51,