def METHOD_NAME(self):
    user = self.create_user(username="user", email="testuser@example.com")
    self.partner1.users.add(self.user)
    self.partner2.users.add(user)
    response = self.get(reverse("dashboard:index"))
    context = response.context
    self.assertEqual(context["total_orders_last_day"], 1)
    self.assertEqual(context["total_lines_last_day"], 1)
    self.assertEqual(context["total_revenue_last_day"], D(27))
    self.assertEqual(context["total_customers_last_day"], 1)
    self.assertEqual(context["total_open_baskets_last_day"], 1)
    self.assertEqual(context["total_products"], 1)
    self.assertEqual(context["total_open_stock_alerts"], 1)
    self.assertEqual(context["total_closed_stock_alerts"], 0)
    self.assertEqual(context["total_customers"], 1)
    self.assertEqual(context["total_open_baskets"], 1)
    self.assertEqual(context["total_orders"], 1)
    self.assertEqual(context["total_lines"], 1)
    self.assertEqual(context["total_revenue"], D(27))