Add keyword arguments. Update URL parameters to the '_id' form. Movernize tests and update them to use the latest test case improvements. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
14 lines
387 B
Python
14 lines
387 B
Python
from __future__ import unicode_literals
|
|
|
|
from ..models import SmartLink
|
|
|
|
from .literals import TEST_SMART_LINK_DYNAMIC_LABEL, TEST_SMART_LINK_LABEL
|
|
|
|
|
|
class SmartLinkTestMixin(object):
|
|
def _create_test_smart_link(self):
|
|
self.test_smart_link = SmartLink.objects.create(
|
|
label=TEST_SMART_LINK_LABEL,
|
|
dynamic_label=TEST_SMART_LINK_DYNAMIC_LABEL
|
|
)
|