diff --git a/storyboard/api/v1/wmodels.py b/storyboard/api/v1/wmodels.py index b40a817c..171a585a 100644 --- a/storyboard/api/v1/wmodels.py +++ b/storyboard/api/v1/wmodels.py @@ -331,9 +331,6 @@ class Task(base.APIBase): assignee_id = int """The ID of the invidiual to whom this task is assigned.""" - priority = wtypes.text - """The priority for this task, one of 'low', 'medium', 'high'""" - branch_id = int """The ID of corresponding Branch""" @@ -353,7 +350,6 @@ class Task(base.APIBase): link="Some notes about the task, this name is bad.", project_id=1, assignee_id=1, - priority="medium", branch_id=1, milestone_id=1, due_dates=[1, 2, 3]) diff --git a/storyboard/tests/notifications/test_notification_hook.py b/storyboard/tests/notifications/test_notification_hook.py index 29314b62..3162b5bf 100644 --- a/storyboard/tests/notifications/test_notification_hook.py +++ b/storyboard/tests/notifications/test_notification_hook.py @@ -173,8 +173,6 @@ class TestNotificationHook(base.BaseDbTestCase): sample_task_wmodel.project_id) self.assertEqual(old_entity_values['assignee_id'], sample_task_wmodel.assignee_id) - self.assertEqual(old_entity_values['priority'], - sample_task_wmodel.priority) @patch('storyboard.db.api.base.entity_get') def test_old_entity_values_set_on_state_by_before(self, mock_entity_get): @@ -218,8 +216,6 @@ class TestNotificationHook(base.BaseDbTestCase): sample_task_wmodel.project_id) self.assertEqual(mock_state.old_entity_values['assignee_id'], sample_task_wmodel.assignee_id) - self.assertEqual(mock_state.old_entity_values['priority'], - sample_task_wmodel.priority) @patch('storyboard.notifications.notification_hook.publish') @patch.object(NotificationHook, 'get_original_resource')