mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
Refs #23919 -- Removed unneeded force_str calls
This commit is contained in:
parent
bf1c957027
commit
dc8834cad4
44 changed files with 100 additions and 167 deletions
|
@ -1397,7 +1397,7 @@ class ManageRunserverEmptyAllowedHosts(AdminScriptTestCase):
|
|||
class ManageTestserver(AdminScriptTestCase):
|
||||
from django.core.management.commands.testserver import Command as TestserverCommand
|
||||
|
||||
@mock.patch.object(TestserverCommand, 'handle')
|
||||
@mock.patch.object(TestserverCommand, 'handle', return_value='')
|
||||
def test_testserver_handle_params(self, mock_handle):
|
||||
out = StringIO()
|
||||
call_command('testserver', 'blah.json', stdout=out)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue