def METHOD_NAME(self, m_stdout):
    call_command('show_urls', '--format=aligned')
    lines = m_stdout.getvalue().splitlines()
    self.assertEqual('/class/based/      tests.management.commands.test_show_urls.ClassView             class-based-view      ', lines[0])
    self.assertEqual('/function/based/   tests.management.commands.test_show_urls.function_based_view   function-based-view   ', lines[1])
    self.assertEqual('/lambda/view       tests.management.commands.test_show_urls.<lambda>                                    ', lines[2])