posix_spawn doesn't support uid gid add umask support to subprocess use bin true in test_subprocess handle the case when there is no 'true' command fix test_subprocess if nobody user doesn't exist subprocess: Use vfork() instead of fork() on Linux when safe subprocess: Fix hand...
POST['assertion'] = 'asserted' mock_user = mock_authenticate.return_value persona_login(request) mock_login.assert_called_once_with(request, mock_user) The upside of this version of the test is that it doesn’t need to rely on the magic of the Django test client, and it doesn’t ...