Méthode |
Description |
|
testAccentedCharacters ( ) |
Test that accented characters and other stuff is "fixed". |
|
testCustomEngineRules ( ) |
Test using custom Slugify rules. |
|
testCustomMethod ( ) |
Test building a slug using a custom method. |
|
testCustomSeparator ( ) |
Test using a custom separator. |
|
testCustomSuffix ( ) |
Test building a slug using a custom suffix. |
|
testDoesNotNeedSluggingWhenSlugIsSet ( ) |
Test that models aren't slugged if the slug field is defined. |
|
testDoesNotNeedSluggingWithUpdateWhenSlugIsSet ( ) |
Test that models aren't *re*slugged if the slug field is defined. |
|
testEmptySeparator ( ) |
Test if using an empty separator works. |
|
testEmptySourceGeneratesEmptySlug ( ) |
Test that an empty slug source creates a null slug. |
|
testIssue20 ( ) |
Test model replication. |
|
testIssue5 ( ) |
Test when reverting to a shorter version of a similar slug. |
|
testMaxLength ( ) |
Test for max_length option. |
|
testMaxLengthWithIncrements ( ) |
Test for max_length option with increments. |
|
testMultipleSlugs ( ) |
Test models with multiple slug fields. |
|
testMultipleSource ( ) |
Test building a slug from multiple attributes. |
|
testNonSluggableModels ( ) |
Test that we don't try and slug models that don't implement Sluggable. |
|
testReservedWord ( ) |
Test using reserved word blocking. |
|
testShortConfig ( ) |
Test basic slugging functionality using short configuration syntax. |
|
testSimpleSlug ( ) |
Test basic slugging functionality. |
|
testSlugFromRelatedModel ( ) |
Test generating slug from related model field. |
|
testSlugFromRelatedModelNotExists ( ) |
Test generating slug when related model doesn't exists. |
|
testSubscriptCharacters ( ) |
Test subscript characters in slug field |
|
testToStringMethod ( ) |
Test building a slug using the __toString method. |
|