def METHOD_NAME(self):
    self._login("inventory.view_machinesnapshot")
    response = self.client.get(reverse("inventory:index"), {"ls": "7d", "sf": "mbu-t-mis-tp-pf-hm-osv"})
    self.assertTemplateUsed(response, "inventory/machine_list.html")
    self.assertContains(response, "1 Machine")