2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-12 10:05:39 +00:00

Slow tests (#4435)

* Add integration for django-slowtest

* Sample test improvement

- Reduces test from 0.7s to 0.2s

* Run CI tests with slowreport

* Fix requirements file

* Fix test command

* Fix bulk_create in unit tests

* Remove bulk_create entirely

* remove another bulk_create call

* Reduce long test from ~1000 seconds to ~1 second
This commit is contained in:
Oliver
2023-03-02 13:51:52 +11:00
committed by GitHub
parent ec66e5351b
commit db42ffcf7c
6 changed files with 43 additions and 21 deletions

View File

@ -559,7 +559,7 @@ def test(c, disable_pty=False):
pty = not disable_pty
# Run coverage tests
manage(c, 'test', pty=pty)
manage(c, 'test --slowreport', pty=pty)
@task(help={'dev': 'Set up development environment at the end'})