From dc8834cad41aa407f402dc54788df3cd37ab3e22 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Wed, 11 Jan 2017 23:17:25 +0100 Subject: Refs #23919 -- Removed unneeded force_str calls --- tests/admin_scripts/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/admin_scripts') diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index 868d04196f..50e034e03e 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -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) -- cgit v1.3