Skip to content

Commit

Permalink
[#233] Test random
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmursa-dev committed Dec 19, 2024
1 parent e68104c commit e31b03e
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2154,11 +2154,15 @@ def test_invalid_validation_partij_identificator_object_id(self):
"codeRegister": "brp",
},
}

with self.assertRaisesMessage(
ValidationError, "De lengte van de ObjectId moet tussen 8 en 9 liggen."
):
self.client.post(url, data)
response = self.client.post(url, data)
print("*****************************")
print("*****************************")
print("*****************************")
print("*****************************")
print(response.data)
print("*****************************")
print("*****************************")
print("*****************************")

def test_valid_validation_partij_identificator(self):
# All validations pass
Expand Down

0 comments on commit e31b03e

Please sign in to comment.