mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-06-27 13:53:19 +03:00
Fix warning in tests because test class is prefixed with Test
This commit is contained in:
parent
0f3ab6af7a
commit
696050cf6b
@ -8,11 +8,11 @@ from localized_fields.fields import LocalizedBleachField
|
|||||||
from localized_fields.value import LocalizedValue
|
from localized_fields.value import LocalizedValue
|
||||||
|
|
||||||
|
|
||||||
class TestModel:
|
class ModelTest:
|
||||||
"""Used to declare a bleach-able field on."""
|
"""Used to declare a bleach-able field on."""
|
||||||
|
|
||||||
def __init__(self, value):
|
def __init__(self, value):
|
||||||
"""Initializes a new instance of :see:TestModel.
|
"""Initializes a new instance of :see:ModelTest.
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
The value to initialize with.
|
The value to initialize with.
|
||||||
@ -60,7 +60,7 @@ class LocalizedBleachFieldTestCase(TestCase):
|
|||||||
"""Gets a test model and a artifically constructed
|
"""Gets a test model and a artifically constructed
|
||||||
:see:LocalizedBleachField instance to test with."""
|
:see:LocalizedBleachField instance to test with."""
|
||||||
|
|
||||||
model = TestModel(value)
|
model = ModelTest(value)
|
||||||
|
|
||||||
field = LocalizedBleachField()
|
field = LocalizedBleachField()
|
||||||
field.attname = "value"
|
field.attname = "value"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user