File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99
1010# The InvenTree API endpoint changed considerably @ version 197
1111# Ref: https://github.com/inventree/InvenTree/pull/7074
12- MODERN_LABEL_PRINTING_API = 198
12+ MODERN_LABEL_PRINTING_API = 201
1313
1414
1515class LabelPrintingMixin :
Original file line number Diff line number Diff line change 55
66# The InvenTree API endpoint changed considerably @ version 197
77# Ref: https://github.com/inventree/InvenTree/pull/7074
8- MODERN_LABEL_PRINTING_API = 198
8+ MODERN_LABEL_PRINTING_API = 201
99
1010
1111class ReportPrintingMixin :
Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments