small docstring changes

This commit is contained in:
Matthias 2022-05-28 18:25:22 +02:00
parent 93a1bf165d
commit b74826c4d0
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093
4 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,4 @@
"""
The InvenTree module provides high-level management and functionality.
"""The InvenTree module provides high-level management and functionality.
It provides a number of helper functions and generic classes which are used by InvenTree apps.
"""

View File

@ -46,6 +46,7 @@ class StockAPITestCase(InvenTreeAPITestCase):
class StockLocationTest(StockAPITestCase):
"""Series of API tests for the StockLocation API."""
list_url = reverse('api-location-list')
def setUp(self):

View File

@ -1,4 +1,4 @@
"""Unit tests for Stock views (see views.py)"""
"""Unit tests for Stock views (see views.py)."""
from django.urls import reverse

View File

@ -20,6 +20,7 @@ from .models import StockItem, StockItemTracking, StockLocation
class StockIndex(InvenTreeRoleMixin, InvenTreePluginViewMixin, ListView):
"""StockIndex view loads all StockLocation and StockItem object."""
model = StockItem
template_name = 'stock/location.html'
context_obect_name = 'locations'