2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 13:10:57 +00:00

Add some unit testing

This commit is contained in:
Oliver Walters
2020-10-04 00:24:48 +10:00
parent 6bc5fe2497
commit 2039100d3e
5 changed files with 67 additions and 12 deletions

View File

@ -38,4 +38,5 @@ class CompanyConfig(AppConfig):
company.image = None
company.save()
except (OperationalError, ProgrammingError):
print("Could not generate Company thumbnails")
# Getting here probably meant the database was in test mode
pass