def METHOD_NAME(self):
    self.assertTrue(add_participation(
        self.user.username, self.contest.id, "1.2.3.4", 60, 120,
        "pwd", "plaintext", True, None, True, True))
    self.assertParticipationInDb(self.user.id, self.contest.id, "pwd",
                                 delay_time=60, extra_time=120,
                                 hidden=True, unrestricted=True,
                                 ip=[ipaddress.ip_network("1.2.3.4")])