def ccx_dummy_request():
 factory = RequestFactory()
 request = factory.get('ccx_coach_dashboard')
 request.user = MagicMock()
 return request

def ccx_dummy_request ( ) : factory = RequestFactory ( ) request = factory . get ( 'ccx_coach_dashboard' ) request . user = MagicMock ( ) return request
returns dummy request object for ccx coach tab test .