2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-13 08:21:26 +00:00

More tests for Part

- barcode
- category_path
This commit is contained in:
Oliver Walters
2019-05-04 23:35:52 +10:00
parent 3fda5a3925
commit 1f80e8c655
3 changed files with 19 additions and 1 deletions

View File

@ -217,6 +217,9 @@ class Part(models.Model):
"Part",
self.id,
reverse('api-part-detail', kwargs={'pk': self.id}),
{
'name': self.name,
}
)
class Meta: