Fixes in tests
This commit is contained in:
parent
bce9c008b8
commit
6a68dcd47c
4 changed files with 9 additions and 2 deletions
|
|
@ -468,7 +468,14 @@ class WebModel:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
fields, values, update_values=self.check_all_fields(dict_values, external_agent)
|
arr_return=self.check_all_fields(dict_values, external_agent)
|
||||||
|
|
||||||
|
if arr_return:
|
||||||
|
|
||||||
|
fields, values, update_values=arr_return
|
||||||
|
|
||||||
|
else:
|
||||||
|
return False
|
||||||
|
|
||||||
except:
|
except:
|
||||||
self.query_error='Cannot insert the new row'
|
self.query_error='Cannot insert the new row'
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
from settings import config
|
from settings import config
|
||||||
from paramecio.libraries import sendmail
|
from paramecio2.libraries import sendmail
|
||||||
import time
|
import time
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue