Example #1
0
 def test_order_view_get_all_item(self):
     # This test is just written to test the select query
     # It should be disabled or we should use mock data
     logger.info(getitems()[0])
     self.assertIsNotNone(getitems()[0])
Example #2
0
def loggedin(request):
    return render_to_response('loggedin.html',
                              {'full_name': request.user.username, 'all_items': getitems(),
                               'my_items': getmyitems(request.user.username)})