From 49ac178ffc2305dd07d19dae96eaf4b66613b2d4 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 18 Feb 2023 14:43:42 +1100 Subject: [PATCH] Fixes for unit tests --- test/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_api.py b/test/test_api.py index e5831906..35c1dd1b 100644 --- a/test/test_api.py +++ b/test/test_api.py @@ -172,7 +172,7 @@ def test_create_stuff(self): # Create a custom category c = part.PartCategory.create(self.api, { 'parent': None, - 'name': 'My custom category', + 'name': 'My custom category 2', 'description': 'A part category', }) @@ -193,7 +193,7 @@ def test_create_stuff(self): cat = p.getCategory() self.assertEqual(cat.pk, c.pk) - self.assertEqual(cat.name, 'My custom category') + self.assertEqual(cat.name, 'My custom category 2') s = stock.StockItem.create(self.api, { 'part': p.pk,