diff --git a/bookwyrm/tests/views/test_status.py b/bookwyrm/tests/views/test_status.py index 719b0d71..d490f484 100644 --- a/bookwyrm/tests/views/test_status.py +++ b/bookwyrm/tests/views/test_status.py @@ -217,6 +217,16 @@ class StatusViews(TestCase): 'is rad

') + def test_to_markdown_link(self): + ''' this is mostly handled in other places, but nonetheless ''' + text = '[hi](http://fish.com) is rad' + result = views.status.to_markdown(text) + self.assertEqual( + result, + '

hi ' \ + 'is rad

') + + def test_handle_delete_status(self): ''' marks a status as deleted ''' view = views.DeleteStatus.as_view()