def METHOD_NAME(self):
    password = {
        "site": "lesspass.com",
        "login": "testv2@lesspass.com",
        "lowercase": True,
        "uppercase": False,
        "digits": False,
        "symbols": False,
        "counter": 3,
        "length": 16,
        "version": 2,
    }
    self.client.post("/api/passwords/", password)
    profile = models.Password.objects.first()
    self.assertEqual(profile.site, "lesspass.com")
    self.assertEqual(profile.login, "testv2@lesspass.com")
    self.assertTrue(profile.lowercase)
    self.assertFalse(profile.uppercase)
    self.assertFalse(profile.digits)
    self.assertFalse(profile.symbols)
    self.assertEqual(profile.counter, 3)
    self.assertEqual(profile.length, 16)
    self.assertEqual(profile.version, 2)