Add option to customize the knocker behavior
This commit is contained in:
parent
a628220e3d
commit
dc4648606d
5 changed files with 91 additions and 0 deletions
|
|
@ -117,8 +117,12 @@ class BaseTest(BaseTestCase):
|
|||
namespace='sample_app2', app_title='app2', object_name='Article'
|
||||
)
|
||||
cls.app_config_1.app_data.config.paginate_by = 1
|
||||
cls.app_config_1.app_data.config.send_knock_create = True
|
||||
cls.app_config_1.app_data.config.send_knock_update = True
|
||||
cls.app_config_1.save()
|
||||
cls.app_config_2.app_data.config.paginate_by = 2
|
||||
cls.app_config_2.app_data.config.send_knock_create = True
|
||||
cls.app_config_2.app_data.config.send_knock_update = True
|
||||
cls.app_config_2.save()
|
||||
cls.app_configs = {
|
||||
'sample_app': cls.app_config_1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue