mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
5c7d3af150
* Add tests for report api * Add test for delete endpoint * Use pk in reverse call * Allow kwargs in APITestCase methods * Data is in response.data * Fix comment * Use expected_code argument instead of separate check * Test with superuser * Negative indexing not allowed, try with this alternative * Looking for what went wrong.. * APITestCase does not work like Python requests - change POST calls * Upload success is code 201 * In PATCH method, change test file and description as well * Add test for get_api_url method * Change format parameter for file upload * Copy tests for report API over to label API * Add test model for BuildLineLabel * Update tests * Make example template valid * Add methods for testing label printing |
||
---|---|---|
.. | ||
migrations | ||
templates/report | ||
templatetags | ||
__init__.py | ||
admin.py | ||
api.py | ||
apps.py | ||
helpers.py | ||
models.py | ||
serializers.py | ||
tests.py |