@ -792,7 +792,6 @@ class CenturionAbstractModelPyTest(
|
||||
test_value = settings.SITE_URL + site_path
|
||||
|
||||
model_instance.id = 1
|
||||
# url_basename = f'v2:_api_{model_instance._meta.model_name}-detail'
|
||||
|
||||
url = model_instance.get_url( relative = False)
|
||||
|
||||
@ -811,7 +810,6 @@ class CenturionAbstractModelPyTest(
|
||||
reverse = mocker.patch('rest_framework.reverse._reverse', return_value = site_path)
|
||||
|
||||
model_instance.id = 1
|
||||
# url_basename = f'v2:_api_{model_instance._meta.model_name}-detail'
|
||||
|
||||
url = model_instance.get_url( relative = True)
|
||||
|
||||
|
@ -348,7 +348,7 @@ max-line-length = 100
|
||||
# Maximum number of lines in a module.
|
||||
max-module-lines = 1000
|
||||
|
||||
# Allow the body of a class to be on the same line as the declaration if body
|
||||
# Allow the body of a class to be on the same line as the declaration if body
|
||||
# contains single statement.
|
||||
# single-line-class-stmt =
|
||||
|
||||
|
Reference in New Issue
Block a user