def METHOD_NAME(self):
    """Verify that nagging works when tasks are done in the 'wrong' order"""
    self.t("add due:yesterday one")
    self.t("add due:tomorrow two")
    self.t("add priority:H three")
    self.t("add priority:M four")
    self.t("add priority:L five")
    self.t("add six")
    self.t("add seven +nonag")
    code, out, err = self.t("7 done")
    self.assertNotIn("NAG", err)
    code, out, err = self.t("6 done")
    self.assertIn("NAG", err)
    code, out, err = self.t("5 done")
    self.assertIn("NAG", err)
    code, out, err = self.t("4 done")
    self.assertIn("NAG", err)
    code, out, err = self.t("3 done")
    self.assertIn("NAG", err)
    code, out, err = self.t("2 done")
    self.assertIn("NAG", err)
    code, out, err = self.t("1 done")
    self.assertNotIn("NAG", err)