Skip to content

Commit

Permalink
Merge branch 'master' of github.com:inventree/inventree-python
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Jun 3, 2024
2 parents fa258f3 + 116e66c commit a125ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_part.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ def test_part_delete(self):
with self.assertRaises(requests.exceptions.HTTPError) as ar:
response = p.delete()

self.assertIn("is active: cannot delete", str(ar.exception))
self.assertIn("Cannot delete this part as it is still active", str(ar.exception))

p.save(data={'active': False})
response = p.delete()
Expand Down

0 comments on commit a125ba7

Please sign in to comment.