Update file init_test.py

This commit is contained in:
2023-10-30 22:14:51 +00:00
parent d9746a0b7e
commit 4652f544f4

View File

@@ -53,4 +53,5 @@ class IrLogging(models.Model):
for ap in ADDONS_PATH.split(','):
if ap[-10:] == 'testserver':
_logger.error(os.system('./%s/testserver.sh' %(ap)))
raise Warning("Testserver is succesvol geïnstalleerd./n/nLET OP!/nDe mailcatcher moet handmatig geïnstalleerd worden met script install_mailhog_as_service.sh die in de modulemap van Testserver staat./n Ga naar de directory en start voer uit: 'sh ./install_mailhog_as_service.sh'")
raise UserError(_("Testserver is succesvol geïnstalleerd./n/nLET OP!/nDe mailcatcher moet handmatig geïnstalleerd worden met script install_mailhog_as_service.sh die in de modulemap van Testserver staat./n Ga naar de directory en start voer uit: 'sh ./install_mailhog_as_service.sh'"))