mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-04-24 19:32:53 +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
|
||||
|
||||
|
||||
class TestModel:
|
||||
class ModelTest:
|
||||
"""Used to declare a bleach-able field on."""
|
||||
|
||||
def __init__(self, value):
|
||||
"""Initializes a new instance of :see:TestModel.
|
||||
"""Initializes a new instance of :see:ModelTest.
|
||||
|
||||
Arguments:
|
||||
The value to initialize with.
|
||||
@ -60,7 +60,7 @@ class LocalizedBleachFieldTestCase(TestCase):
|
||||
"""Gets a test model and a artifically constructed
|
||||
:see:LocalizedBleachField instance to test with."""
|
||||
|
||||
model = TestModel(value)
|
||||
model = ModelTest(value)
|
||||
|
||||
field = LocalizedBleachField()
|
||||
field.attname = "value"
|
||||
|
Loading…
x
Reference in New Issue
Block a user