Question: What should I write to do Unit testing (like test cases, how to run the unit testing)??? code- (python) def checkout(request): data = cartData(request) cartItems
What should I write to do Unit testing (like test cases, how to run the unit testing)??? code- (python)
def checkout(request): data = cartData(request) cartItems = data['cartItems'] order = data['order'] items = data['items'] context = {'items':items, 'order':order, 'cartItems':cartItems} return render(request, 'store/checkout.html', context) (Please answer within today if possible)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
