Skip to content

Commit a125ba7

Browse files
Merge branch 'master' of github.com:inventree/inventree-python
2 parents fa258f3 + 116e66c commit a125ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_part.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ def test_part_delete(self):
394394
with self.assertRaises(requests.exceptions.HTTPError) as ar:
395395
response = p.delete()
396396

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

399399
p.save(data={'active': False})
400400
response = p.delete()

0 commit comments

Comments
 (0)