SYMBOL INDEX (805 symbols across 40 files) FILE: django_dynamic_fixture/__init__.py function look_up_alias (line 30) | def look_up_alias(ddf_as_f=True, **kwargs): function dict_to_f (line 54) | def dict_to_f(value): function fixture (line 73) | def fixture(**kwargs): function _new (line 92) | def _new(model, n=1, ddf_lesson=None, persist_dependencies=False, **kwar... function _get (line 123) | def _get(model, n=1, ddf_lesson=None, **kwargs): function _teach (line 153) | def _teach(model, ddf_lesson=None, **kwargs): function new (line 194) | def new(model: typing.Type[INSTANCE_TYPE], n: int = 1, ddf_lesson = None... function get (line 197) | def get(model: typing.Type[INSTANCE_TYPE], n: int=1, ddf_lesson=None, **... function teach (line 200) | def teach(model: typing.Type[INSTANCE_TYPE], ddf_lesson=None, **kwargs): FILE: django_dynamic_fixture/ddf.py class UnsupportedFieldError (line 29) | class UnsupportedFieldError(Exception): class InvalidCopierExpressionError (line 33) | class InvalidCopierExpressionError(Exception): class InvalidConfigurationError (line 37) | class InvalidConfigurationError(Exception): class InvalidManyToManyConfigurationError (line 41) | class InvalidManyToManyConfigurationError(Exception): class BadDataError (line 45) | class BadDataError(Exception): class InvalidModelError (line 49) | class InvalidModelError(Exception): class InvalidReceiverError (line 53) | class InvalidReceiverError(Exception): class PendingField (line 57) | class PendingField(Exception): function _validate_model (line 61) | def _validate_model(model_class): function _validate_function (line 66) | def _validate_function(model_class, callback_function): function set_pre_save_receiver (line 75) | def set_pre_save_receiver(model_class, callback_function): function set_post_save_receiver (line 85) | def set_post_save_receiver(model_class, callback_function): class DataFixture (line 95) | class DataFixture: method __init__ (line 107) | def __init__(self): method _field_fixture_template (line 110) | def _field_fixture_template(self, field_class): method _field_fixture_factory (line 113) | def _field_fixture_factory(self, field_class): method generate_data (line 127) | def generate_data(self, field): class Copier (line 148) | class Copier: method __init__ (line 154) | def __init__(self, expression): method __str__ (line 157) | def __str__(self): method immediate_field_name (line 160) | def immediate_field_name(self, instance): method eval_expression (line 166) | def eval_expression(self, instance): class Mask (line 177) | class Mask: method __init__ (line 191) | def __init__(self, expression): method __str__ (line 194) | def __str__(self): method evaluate (line 197) | def evaluate(self): class DDFLibrary (line 221) | class DDFLibrary: method __init__ (line 225) | def __init__(self): method __str__ (line 228) | def __str__(self): method get_instance (line 232) | def get_instance(cls): method add_configuration (line 237) | def add_configuration(self, model_class, kwargs, name=None): method get_configuration (line 251) | def get_configuration(self, model_class, name=None): method _get_concrete_model (line 261) | def _get_concrete_model(self, model_class): method clear (line 267) | def clear(self): method clear_configuration (line 271) | def clear_configuration(self, model_class): class DynamicFixture (line 277) | class DynamicFixture: method __init__ (line 285) | def __init__(self, data_fixture, fill_nullable_fields=False, ignore_fi... method __str__ (line 316) | def __str__(self): method __eq__ (line 319) | def __eq__(self, that): method _get_data_from_custom_dynamic_fixture (line 322) | def _get_data_from_custom_dynamic_fixture(self, field, fixture, persis... method _get_data_from_custom_copier (line 331) | def _get_data_from_custom_copier(self, instance, field, fixture): method _get_data_from_data_fixture (line 341) | def _get_data_from_data_fixture(self, field, fixture): method _get_data_from_a_custom_function (line 346) | def _get_data_from_a_custom_function(self, field, fixture): method _get_data_from_static_data (line 351) | def _get_data_from_static_data(self, field, fixture): method _process_field_with_customized_fixture (line 359) | def _process_field_with_customized_fixture(self, instance, field, fixt... method _process_foreign_key (line 375) | def _process_foreign_key(self, model_class, field, persist_dependencies): method _process_field_with_default_fixture (line 402) | def _process_field_with_default_fixture(self, field, model_class, pers... method set_data_for_a_field (line 435) | def set_data_for_a_field(self, model_class, __instance, __field, persi... method _validate_kwargs (line 478) | def _validate_kwargs(self, model_class, kwargs): method _configure_params (line 486) | def _configure_params(self, model_class, ddf_lesson, **kwargs): method new (line 509) | def new(self, model_class, ddf_lesson=None, persist_dependencies=True,... method _is_ignored_field (line 555) | def _is_ignored_field(self, field_name): method _process_many_to_many_field (line 576) | def _process_many_to_many_field(self, field, manytomany_field, fixture... method _create_manytomany_relationship (line 602) | def _create_manytomany_relationship(self, manytomany_field, instance, ... method _save_the_instance (line 616) | def _save_the_instance(self, instance): method get (line 627) | def get(self, model_class, ddf_lesson=None, **kwargs): method teach (line 668) | def teach(self, model_class, ddf_lesson=None, **kwargs): function _is_dynamic_value (line 679) | def _is_dynamic_value(fixture): FILE: django_dynamic_fixture/decorators.py function skip_for_database (line 14) | def skip_for_database(database): function only_for_database (line 23) | def only_for_database(database): FILE: django_dynamic_fixture/django_helper.py function django_greater_than (line 17) | def django_greater_than(major, minor=0): function get_apps (line 22) | def get_apps(application_labels=[], exclude_application_labels=[]): function get_app_name (line 51) | def get_app_name(app_module): function get_models_of_an_app (line 58) | def get_models_of_an_app(app_label): function get_app_name_of_model (line 67) | def get_app_name_of_model(model_class): function get_model_name (line 71) | def get_model_name(model_class): function get_unique_model_name (line 76) | def get_unique_model_name(model_class): function get_fields_from_model (line 81) | def get_fields_from_model(model_class): function get_local_fields (line 86) | def get_local_fields(model): function get_many_to_many_fields_from_model (line 91) | def get_many_to_many_fields_from_model(model_class): function get_all_fields_of_model (line 97) | def get_all_fields_of_model(model_class): function get_field_names_of_model (line 104) | def get_field_names_of_model(model_class): function get_field_by_name_or_raise (line 110) | def get_field_by_name_or_raise(model_class, field_name): function is_model_class (line 115) | def is_model_class(instance_or_model_class): function is_model_abstract (line 120) | def is_model_abstract(model): function is_model_managed (line 125) | def is_model_managed(model): function model_has_the_field (line 130) | def model_has_the_field(model_class, field_name): function get_unique_field_name (line 140) | def get_unique_field_name(field): function get_related_model (line 146) | def get_related_model(field): function field_is_a_parent_link (line 150) | def field_is_a_parent_link(field): function field_has_choices (line 156) | def field_has_choices(field): function field_has_default_value (line 169) | def field_has_default_value(field): function field_is_unique (line 173) | def field_is_unique(field): function is_key_field (line 177) | def is_key_field(field): function is_relationship_field (line 181) | def is_relationship_field(field): function is_file_field (line 185) | def is_file_field(field): function print_field_values_of_a_model (line 189) | def print_field_values_of_a_model(model_instance): function print_field_values (line 206) | def print_field_values(model_instance_or_list_of_model_instances_or_quer... function enable_auto_now (line 216) | def enable_auto_now(field): function disable_auto_now (line 220) | def disable_auto_now(field): function enable_auto_now_add (line 224) | def enable_auto_now_add(field): function disable_auto_now_add (line 228) | def disable_auto_now_add(field): function is_boolean (line 234) | def is_boolean(field): function is_string (line 237) | def is_string(field): function is_number (line 240) | def is_number(field): function is_datetime (line 244) | def is_datetime(field): function is_file (line 247) | def is_file(field): function is_binary (line 250) | def is_binary(field): FILE: django_dynamic_fixture/fdf.py class CustomFileSystemStorage (line 17) | class CustomFileSystemStorage(FileSystemStorage): method __init__ (line 18) | def __init__(self, *args, **kwargs): class FileSystemDjangoTestCase (line 23) | class FileSystemDjangoTestCase(TestCase): method setUp (line 26) | def setUp(self): method tearDown (line 29) | def tearDown(self): method _pre_setup (line 32) | def _pre_setup(self): method _post_teardown (line 36) | def _post_teardown(self): method fdf_setup (line 41) | def fdf_setup(self): method fdf_teardown (line 46) | def fdf_teardown(self): method create_temp_directory (line 55) | def create_temp_directory(self, prefix='file_system_test_case_dir_'): method remove_temp_directory (line 61) | def remove_temp_directory(self, directory_pathname): method create_temp_file (line 70) | def create_temp_file(self, directory=None, prefix='file_system_test_ca... method create_temp_file_with_name (line 80) | def create_temp_file_with_name(self, directory, name): method rename_temp_file (line 88) | def rename_temp_file(self, filepath, name): method remove_temp_file (line 99) | def remove_temp_file(self, filepath): method copy_file_to_dir (line 110) | def copy_file_to_dir(self, filepath, directory): method add_text_to_file (line 115) | def add_text_to_file(self, filepath, content): method get_directory_of_the_file (line 121) | def get_directory_of_the_file(self, filepath): method get_filename (line 125) | def get_filename(self, filepath): method get_filepath (line 129) | def get_filepath(self, directory, filename): method get_content_of_file (line 133) | def get_content_of_file(self, filepath): method create_django_file_with_temp_file (line 140) | def create_django_file_with_temp_file(self, name, content=None, dir=No... method create_django_file_using_file (line 151) | def create_django_file_using_file(self, filepath): method assertFileExists (line 160) | def assertFileExists(self, filepath): method assertFileDoesNotExists (line 163) | def assertFileDoesNotExists(self, filepath): method assertDirectoryExists (line 166) | def assertDirectoryExists(self, directory): method assertDirectoryDoesNotExists (line 170) | def assertDirectoryDoesNotExists(self, directory): method assertDirectoryContainsFile (line 174) | def assertDirectoryContainsFile(self, directory, filename): method assertDirectoryDoesNotContainsFile (line 178) | def assertDirectoryDoesNotContainsFile(self, directory, filename): method assertFilesHaveEqualLastModificationTimestamps (line 182) | def assertFilesHaveEqualLastModificationTimestamps(self, filepath1, fi... method assertFilesHaveNotEqualLastModificationTimestamps (line 185) | def assertFilesHaveNotEqualLastModificationTimestamps(self, filepath1,... method assertNumberOfFiles (line 188) | def assertNumberOfFiles(self, directory, number_of_files): FILE: django_dynamic_fixture/fields.py class JSONField (line 11) | class JSONField(DjangoJSONField): method db_type (line 21) | def db_type(self, connection): method from_db_value (line 24) | def from_db_value(self, value, expression, connection): method to_python (line 29) | def to_python(self, value): method get_prep_value (line 37) | def get_prep_value(self, value): method value_to_string (line 42) | def value_to_string(self, obj): class ArrayField (line 15) | class ArrayField(DjangoArrayField): method __init__ (line 47) | def __init__(self, base_field, size=None, **kwargs): method deconstruct (line 53) | def deconstruct(self): class JSONField (line 20) | class JSONField(Field): method db_type (line 21) | def db_type(self, connection): method from_db_value (line 24) | def from_db_value(self, value, expression, connection): method to_python (line 29) | def to_python(self, value): method get_prep_value (line 37) | def get_prep_value(self, value): method value_to_string (line 42) | def value_to_string(self, obj): class ArrayField (line 46) | class ArrayField(JSONField): method __init__ (line 47) | def __init__(self, base_field, size=None, **kwargs): method deconstruct (line 53) | def deconstruct(self): FILE: django_dynamic_fixture/fixture_algorithms/__init__.py class FixtureFactory (line 5) | class FixtureFactory: method get (line 7) | def get(data_fixture): FILE: django_dynamic_fixture/fixture_algorithms/default_fixture.py class BaseDataFixture (line 27) | class BaseDataFixture(DataFixture): method binaryfield_config (line 29) | def binaryfield_config(self, field, key): method uuidfield_config (line 33) | def uuidfield_config(self, field, key): method genericipaddressfield_config (line 37) | def genericipaddressfield_config(self, field, key): method jsonfield_config (line 41) | def jsonfield_config(self, field, key): class GeoDjangoFixtureMixin (line 46) | class GeoDjangoFixtureMixin: method create_point (line 47) | def create_point(self, x=None, y=None): method create_points (line 53) | def create_points(self, n=3, closed=True): method geometryfield_config (line 59) | def geometryfield_config(self, field, key): method pointfield_config (line 62) | def pointfield_config(self, field, key): method linestringfield_config (line 65) | def linestringfield_config(self, field, key, n=3): method polygonfield_config (line 68) | def polygonfield_config(self, field, key, n=3): method multipointfield_config (line 71) | def multipointfield_config(self, field, key, n=3): method multilinestringfield_config (line 74) | def multilinestringfield_config(self, field, key, n=3): method multipolygonfield_config (line 78) | def multipolygonfield_config(self, field, key, n=3): method geometrycollectionfield_config (line 82) | def geometrycollectionfield_config(self, field, key, n=3): class PostgresFixtureMixin (line 89) | class PostgresFixtureMixin: method arrayfield_config (line 90) | def arrayfield_config(self, field, key, n=1): FILE: django_dynamic_fixture/fixture_algorithms/random_fixture.py class RandomDataFixture (line 23) | class RandomDataFixture(BaseDataFixture, GeoDjangoFixtureMixin, Postgres... method random_string (line 24) | def random_string(self, n): method integerfield_config (line 28) | def integerfield_config(self, field, key, start=1, end=10 ** 6): method smallintegerfield_config (line 31) | def smallintegerfield_config(self, field, key): method positiveintegerfield_config (line 35) | def positiveintegerfield_config(self, field, key): method positivesmallintegerfield_config (line 38) | def positivesmallintegerfield_config(self, field, key): method bigintegerfield_config (line 42) | def bigintegerfield_config(self, field, key): method floatfield_config (line 45) | def floatfield_config(self, field, key): method decimalfield_config (line 48) | def decimalfield_config(self, field, key): method charfield_config (line 56) | def charfield_config(self, field, key): method textfield_config (line 63) | def textfield_config(self, field, key): method slugfield_config (line 66) | def slugfield_config(self, field, key): method commaseparatedintegerfield_config (line 69) | def commaseparatedintegerfield_config(self, field, key): method booleanfield_config (line 73) | def booleanfield_config(self, field, key): method nullbooleanfield_config (line 76) | def nullbooleanfield_config(self, field, key): method datefield_config (line 81) | def datefield_config(self, field, key): method timefield_config (line 84) | def timefield_config(self, field, key): method datetimefield_config (line 87) | def datetimefield_config(self, field, key): method emailfield_config (line 91) | def emailfield_config(self, field, key): method urlfield_config (line 94) | def urlfield_config(self, field, key): method ipaddressfield_config (line 98) | def ipaddressfield_config(self, field, key): method xmlfield_config (line 105) | def xmlfield_config(self, field, key): method filepathfield_config (line 109) | def filepathfield_config(self, field, key): method filefield_config (line 112) | def filefield_config(self, field, key): method imagefield_config (line 115) | def imagefield_config(self, field, key): FILE: django_dynamic_fixture/fixture_algorithms/sequential_fixture.py class AutoDataFiller (line 23) | class AutoDataFiller: method __init__ (line 28) | def __init__(self): method next (line 33) | def next(self, key): method current (line 43) | def current(self, key): class SequentialDataFixture (line 49) | class SequentialDataFixture(BaseDataFixture, GeoDjangoFixtureMixin, Post... method __init__ (line 51) | def __init__(self): method get_value (line 55) | def get_value(self, field, key): method integerfield_config (line 59) | def integerfield_config(self, field, key): method smallintegerfield_config (line 62) | def smallintegerfield_config(self, field, key): method positiveintegerfield_config (line 65) | def positiveintegerfield_config(self, field, key): method positivesmallintegerfield_config (line 68) | def positivesmallintegerfield_config(self, field, key): method bigintegerfield_config (line 71) | def bigintegerfield_config(self, field, key): method floatfield_config (line 74) | def floatfield_config(self, field, key): method decimalfield_config (line 77) | def decimalfield_config(self, field, key): method charfield_config (line 85) | def charfield_config(self, field, key): method textfield_config (line 95) | def textfield_config(self, field, key): method slugfield_config (line 98) | def slugfield_config(self, field, key): method commaseparatedintegerfield_config (line 101) | def commaseparatedintegerfield_config(self, field, key): method booleanfield_config (line 105) | def booleanfield_config(self, field, key): method nullbooleanfield_config (line 108) | def nullbooleanfield_config(self, field, key): method datefield_config (line 112) | def datefield_config(self, field, key): method timefield_config (line 116) | def timefield_config(self, field, key): method datetimefield_config (line 120) | def datetimefield_config(self, field, key): method emailfield_config (line 125) | def emailfield_config(self, field, key): method urlfield_config (line 128) | def urlfield_config(self, field, key): method ipaddressfield_config (line 132) | def ipaddressfield_config(self, field, key): method xmlfield_config (line 141) | def xmlfield_config(self, field, key): method filepathfield_config (line 145) | def filepathfield_config(self, field, key): method filefield_config (line 148) | def filefield_config(self, field, key): method imagefield_config (line 151) | def imagefield_config(self, field, key): class GlobalSequentialDataFixture (line 155) | class GlobalSequentialDataFixture(SequentialDataFixture): method get_value (line 156) | def get_value(self, field, key): class StaticSequentialDataFixture (line 160) | class StaticSequentialDataFixture(SequentialDataFixture): method get_value (line 161) | def get_value(self, field, key): FILE: django_dynamic_fixture/fixture_algorithms/tests/abstract_test_generic_fixture.py class DataFixtureTestCase (line 8) | class DataFixtureTestCase: method setUp (line 9) | def setUp(self): method test_numbers (line 12) | def test_numbers(self): method test_it_must_deal_with_decimal_max_digits (line 21) | def test_it_must_deal_with_decimal_max_digits(self): method test_strings (line 27) | def test_strings(self): method test_new_truncate_strings_to_max_length (line 33) | def test_new_truncate_strings_to_max_length(self): method test_boolean (line 37) | def test_boolean(self): method test_date_time_related (line 42) | def test_date_time_related(self): method test_formatted_strings (line 47) | def test_formatted_strings(self): method test_files (line 53) | def test_files(self): FILE: django_dynamic_fixture/fixture_algorithms/tests/test_default_fixture.py class BaseDataFixtureTestCase (line 20) | class BaseDataFixtureTestCase(TestCase): method setUp (line 21) | def setUp(self): method test_uuid (line 24) | def test_uuid(self): class GeoDjangoFixtureMixin (line 32) | class GeoDjangoFixtureMixin(BaseDataFixture, GeoDjangoFixtureMixin): class GeoDjangoDataFixtureTestCase (line 35) | class GeoDjangoDataFixtureTestCase(TestCase): method setUp (line 36) | def setUp(self): method test_geometryfield_config (line 39) | def test_geometryfield_config(self): method test_pointfield_config (line 42) | def test_pointfield_config(self): method test_linestringfield_config (line 45) | def test_linestringfield_config(self): method test_polygonfield_config (line 48) | def test_polygonfield_config(self): method test_multipointfield_config (line 51) | def test_multipointfield_config(self): method test_multilinesstringfield_config (line 54) | def test_multilinesstringfield_config(self): method test_multipolygonfield_config (line 57) | def test_multipolygonfield_config(self): method test_geometrycollectionfield_config (line 60) | def test_geometrycollectionfield_config(self): FILE: django_dynamic_fixture/fixture_algorithms/tests/test_default_fixture_postgres.py class PostgresDataFixtureTestMixin (line 15) | class PostgresDataFixtureTestMixin: method test_arrayfield_integer_config (line 16) | def test_arrayfield_integer_config(self): method test_arrayfield_char_config (line 21) | def test_arrayfield_char_config(self): method test_arrayfield_datetime_config (line 26) | def test_arrayfield_datetime_config(self): method test_arrayfield_email_config (line 31) | def test_arrayfield_email_config(self): class PostgresSequentialDataFixtureTestCase (line 37) | class PostgresSequentialDataFixtureTestCase(TestCase, PostgresDataFixtur... method setUp (line 38) | def setUp(self): class PostgresStaticSequentialDataFixtureTestCase (line 43) | class PostgresStaticSequentialDataFixtureTestCase(TestCase, PostgresData... method setUp (line 44) | def setUp(self): class PostgresRandomDataFixtureTestCase (line 49) | class PostgresRandomDataFixtureTestCase(TestCase, PostgresDataFixtureTes... method setUp (line 50) | def setUp(self): class PostgresUniqueRandomDataFixtureTestCase (line 55) | class PostgresUniqueRandomDataFixtureTestCase(TestCase, PostgresDataFixt... method setUp (line 56) | def setUp(self): FILE: django_dynamic_fixture/fixture_algorithms/tests/test_random_fixture.py class RandomDataFixtureTestCase (line 8) | class RandomDataFixtureTestCase(TestCase, DataFixtureTestCase): method setUp (line 9) | def setUp(self): FILE: django_dynamic_fixture/fixture_algorithms/tests/test_sequential_fixture.py class SequentialDataFixtureTestCase (line 9) | class SequentialDataFixtureTestCase(TestCase, DataFixtureTestCase): method setUp (line 10) | def setUp(self): method test_it_must_fill_integer_fields_sequencially_by_attribute (line 13) | def test_it_must_fill_integer_fields_sequencially_by_attribute(self): method test_it_must_fill_string_with_sequences_of_numbers_by_attribute (line 20) | def test_it_must_fill_string_with_sequences_of_numbers_by_attribute(se... class StaticSequentialDataFixtureTestCase (line 28) | class StaticSequentialDataFixtureTestCase(TestCase, DataFixtureTestCase): method setUp (line 29) | def setUp(self): method test_it_must_fill_fields_sequencially_by_attribute_if_field_is_unique (line 32) | def test_it_must_fill_fields_sequencially_by_attribute_if_field_is_uni... method test_it_must_fill_fields_with_static_value_by_attribute_if_field_is_not_unique (line 38) | def test_it_must_fill_fields_with_static_value_by_attribute_if_field_i... FILE: django_dynamic_fixture/fixture_algorithms/tests/test_unique_random_fixture.py class RandomDataFixtureTestCase (line 11) | class RandomDataFixtureTestCase(TestCase, DataFixtureTestCase): method setUp (line 12) | def setUp(self): method test_generated_strings_are_unique (line 15) | def test_generated_strings_are_unique(self): method test_generated_signed_integers_are_unique (line 23) | def test_generated_signed_integers_are_unique(self): method test_generated_unsigned_integers_are_unique (line 33) | def test_generated_unsigned_integers_are_unique(self): method test_warning (line 43) | def test_warning(self): FILE: django_dynamic_fixture/fixture_algorithms/unique_random_fixture.py class UniqueRandomDataFixture (line 28) | class UniqueRandomDataFixture(BaseDataFixture, GeoDjangoFixtureMixin, Po... method __init__ (line 36) | def __init__(self): method get_counter (line 40) | def get_counter(self, field, key): method random_string (line 46) | def random_string(self, field, key, n=None): method random_integer (line 56) | def random_integer(self, field, key, signed=True): method integerfield_config (line 77) | def integerfield_config(self, field, key): method smallintegerfield_config (line 80) | def smallintegerfield_config(self, field, key): method bigintegerfield_config (line 83) | def bigintegerfield_config(self, field, key): method positiveintegerfield_config (line 86) | def positiveintegerfield_config(self, field, key): method positivesmallintegerfield_config (line 89) | def positivesmallintegerfield_config(self, field, key): method floatfield_config (line 92) | def floatfield_config(self, field, key): method decimalfield_config (line 95) | def decimalfield_config(self, field, key): method charfield_config (line 103) | def charfield_config(self, field, key): method textfield_config (line 106) | def textfield_config(self, field, key): method slugfield_config (line 109) | def slugfield_config(self, field, key): method commaseparatedintegerfield_config (line 112) | def commaseparatedintegerfield_config(self, field, key): method booleanfield_config (line 116) | def booleanfield_config(self, field, key): method nullbooleanfield_config (line 124) | def nullbooleanfield_config(self, field, key): method datefield_config (line 135) | def datefield_config(self, field, key): method timefield_config (line 139) | def timefield_config(self, field, key): method datetimefield_config (line 143) | def datetimefield_config(self, field, key): method emailfield_config (line 148) | def emailfield_config(self, field, key): method urlfield_config (line 151) | def urlfield_config(self, field, key): method ipaddressfield_config (line 155) | def ipaddressfield_config(self, field, key): method xmlfield_config (line 162) | def xmlfield_config(self, field, key): method filepathfield_config (line 166) | def filepathfield_config(self, field, key): method filefield_config (line 169) | def filefield_config(self, field, key): method imagefield_config (line 172) | def imagefield_config(self, field, key): FILE: django_dynamic_fixture/global_settings.py class DDFImproperlyConfigured (line 21) | class DDFImproperlyConfigured(Exception): function get_ddf_config (line 25) | def get_ddf_config(name, default, cast=None, options=None, msg=''): function get_boolean_config (line 39) | def get_boolean_config(config_name, default=False): function get_data_fixture (line 43) | def get_data_fixture(default='sequential'): FILE: django_dynamic_fixture/models_sample_app.py class Publisher (line 4) | class Publisher(models.Model): class Author (line 7) | class Author(models.Model): class Category (line 11) | class Category(models.Model): class Book (line 15) | class Book(models.Model): class BookPublisher (line 24) | class BookPublisher(models.Model): class BookEdition (line 29) | class BookEdition(models.Model): FILE: django_dynamic_fixture/models_test.py class EmptyModel (line 14) | class EmptyModel(models.Model): class Meta (line 15) | class Meta: class ModelWithNumbers (line 19) | class ModelWithNumbers(models.Model): class Meta (line 29) | class Meta: class ModelWithStrings (line 34) | class ModelWithStrings(models.Model): class Meta (line 41) | class Meta: class ModelWithBooleans (line 46) | class ModelWithBooleans(models.Model): class Meta (line 52) | class Meta: class ModelWithDateTimes (line 57) | class ModelWithDateTimes(models.Model): class Meta (line 62) | class Meta: class ModelWithBinary (line 67) | class ModelWithBinary(models.Model): class Meta (line 69) | class Meta: class ModelWithFieldsWithCustomValidation (line 73) | class ModelWithFieldsWithCustomValidation(models.Model): class Meta (line 79) | class Meta: class ModelWithFileFields (line 83) | class ModelWithFileFields(models.Model): class Meta (line 94) | class Meta: class ModelWithDefaultValues (line 99) | class ModelWithDefaultValues(models.Model): class Meta (line 106) | class Meta: class ModelForNullable (line 111) | class ModelForNullable(models.Model): class Meta (line 115) | class Meta: class ModelForIgnoreList2 (line 120) | class ModelForIgnoreList2(models.Model): class Meta (line 124) | class Meta: class ModelForIgnoreList (line 129) | class ModelForIgnoreList(models.Model): class Meta (line 137) | class Meta: class ModelRelated (line 142) | class ModelRelated(models.Model): class Meta (line 147) | class Meta: class ModelRelatedThrough (line 152) | class ModelRelatedThrough(models.Model): class Meta (line 156) | class Meta: function default_fk_value (line 159) | def default_fk_value(): function default_fk_id (line 167) | def default_fk_id(): class ModelWithRelationships (line 171) | class ModelWithRelationships(models.Model): class Meta (line 187) | class Meta: class ModelWithCyclicDependency (line 192) | class ModelWithCyclicDependency(models.Model): class Meta (line 195) | class Meta: class ModelWithCyclicDependency2 (line 200) | class ModelWithCyclicDependency2(models.Model): class Meta (line 203) | class Meta: class ModelAbstract (line 208) | class ModelAbstract(models.Model): class Meta (line 210) | class Meta: class ModelParent (line 216) | class ModelParent(ModelAbstract): class Meta (line 217) | class Meta: class ModelChild (line 222) | class ModelChild(ModelParent): class Meta (line 223) | class Meta: class ModelChildWithCustomParentLink (line 228) | class ModelChildWithCustomParentLink(ModelParent): class Meta (line 231) | class Meta: class ModelWithRefToParent (line 236) | class ModelWithRefToParent(models.Model): class Meta (line 239) | class Meta: class CustomDjangoField (line 244) | class CustomDjangoField(models.IntegerField): class CustomDjangoField2 (line 248) | class CustomDjangoField2(models.IntegerField): class CustomDjangoFieldMixin (line 252) | class CustomDjangoFieldMixin: class CustomDjangoFieldMultipleInheritance (line 256) | class CustomDjangoFieldMultipleInheritance(CustomDjangoFieldMixin, model... class NewField (line 260) | class NewField(models.Field): method db_type (line 262) | def db_type(self, connection): class ModelWithCustomFields (line 266) | class ModelWithCustomFields(models.Model): class Meta (line 270) | class Meta: class ModelWithCustomFieldsMultipleInheritance (line 275) | class ModelWithCustomFieldsMultipleInheritance(models.Model): class Meta (line 279) | class Meta: class ModelWithUnsupportedField (line 284) | class ModelWithUnsupportedField(models.Model): class Meta (line 287) | class Meta: class ModelWithValidators (line 292) | class ModelWithValidators(models.Model): class Meta (line 296) | class Meta: method clean (line 300) | def clean(self): class ModelWithAutoDateTimes (line 305) | class ModelWithAutoDateTimes(models.Model): class Meta (line 310) | class Meta: class ModelForCopy2 (line 315) | class ModelForCopy2(models.Model): class Meta (line 318) | class Meta: class ModelForCopy (line 323) | class ModelForCopy(models.Model): class Meta (line 330) | class Meta: class ModelForLibrary2 (line 335) | class ModelForLibrary2(models.Model): class Meta (line 339) | class Meta: class ModelForLibrary (line 344) | class ModelForLibrary(models.Model): class Meta (line 350) | class Meta: class ProxyModelForLibrary (line 355) | class ProxyModelForLibrary(ModelForLibrary): class Meta (line 356) | class Meta: class ModelWithUniqueCharField (line 362) | class ModelWithUniqueCharField(models.Model): class Meta (line 365) | class Meta: class ModelWithClean (line 370) | class ModelWithClean(models.Model): class Meta (line 373) | class Meta: method clean (line 377) | def clean(self): class ModelForSignals (line 382) | class ModelForSignals(models.Model): class Meta (line 383) | class Meta: class ModelForSignals2 (line 388) | class ModelForSignals2(models.Model): class Meta (line 389) | class Meta: class ModelForFieldPlugins (line 394) | class ModelForFieldPlugins(models.Model): class Meta (line 399) | class Meta: class ModelWithCommonNames (line 402) | class ModelWithCommonNames(models.Model): class Meta (line 405) | class Meta: class ModelWithNamedPrimaryKey (line 409) | class ModelWithNamedPrimaryKey(models.Model): class ModelForGeoDjango (line 414) | class ModelForGeoDjango(geomodels.Model): class Meta (line 423) | class Meta: class ModelForUUID (line 427) | class ModelForUUID(models.Model): class Meta (line 429) | class Meta: FILE: django_dynamic_fixture/models_third_party.py class ModelForPostgresFields (line 6) | class ModelForPostgresFields(models.Model): class Meta (line 9) | class Meta: class ModelForPlugins1 (line 17) | class ModelForPlugins1(models.Model): class Meta (line 20) | class Meta: class ModelForPlugins2 (line 28) | class ModelForPlugins2(models.Model): class Meta (line 30) | class Meta: class ModelPolymorphic (line 38) | class ModelPolymorphic(PolymorphicModel): class Meta (line 39) | class Meta: class ModelPolymorphic2 (line 43) | class ModelPolymorphic2(ModelPolymorphic): class Meta (line 44) | class Meta: class ModelPolymorphic3 (line 48) | class ModelPolymorphic3(ModelPolymorphic): class CannotSave (line 49) | class CannotSave(Exception): method save (line 52) | def save(self): FILE: django_dynamic_fixture/script_ddf_checkings.py function color (line 8) | def color(color, string): function white (line 11) | def white(string): function red (line 14) | def red(string): function green (line 17) | def green(string): function yellow (line 20) | def yellow(string): function ddf_check_models (line 24) | def ddf_check_models(application_labels=[], exclude_application_labels=[... function console_report (line 52) | def console_report(succeeded, errors): function csv_report (line 64) | def csv_report(succeeded, errors): function save_csv (line 78) | def save_csv(content, filename): FILE: django_dynamic_fixture/tests/conftest.py function fixed_teardown_test_environment (line 14) | def fixed_teardown_test_environment(): FILE: django_dynamic_fixture/tests/test_ddf.py class DDFTestCase (line 16) | class DDFTestCase(TestCase): method setUp (line 17) | def setUp(self): class NewCreateAModelInstanceTest (line 21) | class NewCreateAModelInstanceTest(DDFTestCase): method test_new_create_a_non_saved_instance_of_the_model (line 22) | def test_new_create_a_non_saved_instance_of_the_model(self): class GetDealWithPrimaryKeyTest (line 28) | class GetDealWithPrimaryKeyTest(DDFTestCase): method test_get_use_database_id_by_default (line 29) | def test_get_use_database_id_by_default(self): method test_get_use_given_id (line 34) | def test_get_use_given_id(self): method test_get_use_given_named_id (line 39) | def test_get_use_given_named_id(self): class NewFullFillAttributesWithAutoDataTest (line 45) | class NewFullFillAttributesWithAutoDataTest(DDFTestCase): method test_new_fill_number_fields_with_numbers (line 46) | def test_new_fill_number_fields_with_numbers(self): method test_new_fill_string_fields_with_text_type_strings (line 55) | def test_new_fill_string_fields_with_text_type_strings(self): method test_new_fill_boolean_fields_with_False_and_None (line 62) | def test_new_fill_boolean_fields_with_False_and_None(self): method test_new_fill_time_related_fields_with_current_values (line 67) | def test_new_fill_time_related_fields_with_current_values(self): method test_new_fill_formatted_strings_fields_with_basic_values (line 73) | def test_new_fill_formatted_strings_fields_with_basic_values(self): method test_new_fill_file_fields_with_basic_strings (line 80) | def test_new_fill_file_fields_with_basic_strings(self): method test_new_fill_binary_fields_with_basic_data (line 91) | def test_new_fill_binary_fields_with_basic_data(self): class NewFullFillAttributesWithDefaultDataTest (line 100) | class NewFullFillAttributesWithDefaultDataTest(DDFTestCase): method test_fill_field_with_default_data (line 101) | def test_fill_field_with_default_data(self): method test_fill_field_with_possible_choices (line 105) | def test_fill_field_with_possible_choices(self): method test_fill_field_with_default_value_even_if_field_is_foreign_key (line 109) | def test_fill_field_with_default_value_even_if_field_is_foreign_key(se... method test_fill_field_with_default_data_and_choices_must_consider_default_data_instead_choices (line 113) | def test_fill_field_with_default_data_and_choices_must_consider_defaul... method test_fill_field_with_possible_optgroup_choices (line 117) | def test_fill_field_with_possible_optgroup_choices(self): class NewFullFillAttributesWithCustomDataTest (line 122) | class NewFullFillAttributesWithCustomDataTest(DDFTestCase): method test_fields_are_filled_with_custom_attributes (line 123) | def test_fields_are_filled_with_custom_attributes(self): method test_decimal_can_be_filled_by_an_string (line 128) | def test_decimal_can_be_filled_by_an_string(self): method test_fields_can_be_filled_by_functions (line 132) | def test_fields_can_be_filled_by_functions(self): method test_invalid_configuration_raise_an_error (line 136) | def test_invalid_configuration_raise_an_error(self): method test_bad_data_raise_an_error (line 140) | def test_bad_data_raise_an_error(self): class NewIgnoringNullableFieldsTest (line 146) | class NewIgnoringNullableFieldsTest(DDFTestCase): method test_new_do_not_fill_nullable_fields_if_we_do_not_want_to (line 147) | def test_new_do_not_fill_nullable_fields_if_we_do_not_want_to(self): class NewIgnoreFieldsInIgnoreListTest (line 154) | class NewIgnoreFieldsInIgnoreListTest(DDFTestCase): method test_new_do_not_fill_ignored_fields (line 155) | def test_new_do_not_fill_ignored_fields(self): method test_get_raise_an_error_if_a_required_field_is_in_ignore_list (line 164) | def test_get_raise_an_error_if_a_required_field_is_in_ignore_list(self): method test_ignore_fields_are_propagated_to_self_references (line 169) | def test_ignore_fields_are_propagated_to_self_references(self): method test_ignore_fields_are_not_propagated_to_different_references (line 176) | def test_ignore_fields_are_not_propagated_to_different_references(self): method test_ignore_fields_are_not_ignored_if_explicitely_given (line 182) | def test_ignore_fields_are_not_ignored_if_explicitely_given(self): class NewAlsoCreatesRelatedObjectsTest (line 188) | class NewAlsoCreatesRelatedObjectsTest(DDFTestCase): method test_new_fill_foreignkey_fields (line 189) | def test_new_fill_foreignkey_fields(self): method test_new_fill_onetoone_fields (line 193) | def test_new_fill_onetoone_fields(self): method test_new_deal_with_default_values (line 197) | def test_new_deal_with_default_values(self): method test_new_deal_with_id_default_values (line 201) | def test_new_deal_with_id_default_values(self): class NewCanCreatesCustomizedRelatedObjectsTest (line 211) | class NewCanCreatesCustomizedRelatedObjectsTest(DDFTestCase): method test_customizing_nullable_fields_for_related_objects (line 212) | def test_customizing_nullable_fields_for_related_objects(self): class NewDealWithSelfReferencesTest (line 218) | class NewDealWithSelfReferencesTest(DDFTestCase): method test_new_create_by_default_no_self_fks (line 219) | def test_new_create_by_default_no_self_fks(self): method test_new_create_only_1_lap_in_cycle (line 225) | def test_new_create_only_1_lap_in_cycle(self): method test_new_create_with_min_depth_2 (line 231) | def test_new_create_with_min_depth_2(self): method test_number_of_fk_cycles_does_not_break_default_non_null_fk (line 238) | def test_number_of_fk_cycles_does_not_break_default_non_null_fk(self): class GetFullFilledModelInstanceAndPersistTest (line 244) | class GetFullFilledModelInstanceAndPersistTest(DDFTestCase): method test_get_create_and_save_a_full_filled_instance_of_the_model (line 245) | def test_get_create_and_save_a_full_filled_instance_of_the_model(self): method test_get_create_and_save_related_fields (line 254) | def test_get_create_and_save_related_fields(self): class ManyToManyRelationshipTest (line 264) | class ManyToManyRelationshipTest(DDFTestCase): method test_new_ignore_many_to_many_configuratios (line 265) | def test_new_ignore_many_to_many_configuratios(self): method test_get_ignore_many_to_many_configuratios (line 270) | def test_get_ignore_many_to_many_configuratios(self): method test_many_to_many_configuratios_accept_list_of_dynamic_filters (line 274) | def test_many_to_many_configuratios_accept_list_of_dynamic_filters(self): method test_many_to_many_configuratios_accept_list_of_instances (line 280) | def test_many_to_many_configuratios_accept_list_of_instances(self): method test_invalid_many_to_many_configuration (line 289) | def test_invalid_many_to_many_configuration(self): method test_many_to_many_through (line 293) | def test_many_to_many_through(self): class NewDealWithCyclicDependenciesTest (line 303) | class NewDealWithCyclicDependenciesTest(DDFTestCase): method test_new_create_by_default_no_cycles (line 304) | def test_new_create_by_default_no_cycles(self): method test_new_create_only_1_lap_in_fk_cycle (line 308) | def test_new_create_only_1_lap_in_fk_cycle(self): method test_new_create_with_min_depth_2 (line 313) | def test_new_create_with_min_depth_2(self): class NewDealWithInheritanceTest (line 319) | class NewDealWithInheritanceTest(DDFTestCase): method test_get_must_raise_an_error_if_model_is_abstract (line 320) | def test_get_must_raise_an_error_if_model_is_abstract(self): method test_get_must_fill_parent_fields_too (line 324) | def test_get_must_fill_parent_fields_too(self): method test_get_must_fill_grandparent_fields_too (line 329) | def test_get_must_fill_grandparent_fields_too(self): method test_get_must_ignore_parent_link_attributes_but_the_parent_object_must_be_created (line 335) | def test_get_must_ignore_parent_link_attributes_but_the_parent_object_... method test_get_0 (line 344) | def test_get_0(self): method test_get_1 (line 350) | def test_get_1(self): method test_get_2 (line 357) | def test_get_2(self): class ComplexFieldsTest (line 365) | class ComplexFieldsTest(DDFTestCase): method test_x (line 366) | def test_x(self): class ModelValidatorsTest (line 371) | class ModelValidatorsTest(DDFTestCase): method test_it_must_create_if_validation_is_disabled (line 372) | def test_it_must_create_if_validation_is_disabled(self): method test_it_must_create_if_there_is_no_validation_errors (line 378) | def test_it_must_create_if_there_is_no_validation_errors(self): method test_it_must_raise_a_bad_data_error_if_data_is_not_valid (line 384) | def test_it_must_raise_a_bad_data_error_if_data_is_not_valid(self): class ConfigurationValidatorTest (line 391) | class ConfigurationValidatorTest(DDFTestCase): method test_it_must_raise_a_bad_data_error_if_data_is_not_valid (line 392) | def test_it_must_raise_a_bad_data_error_if_data_is_not_valid(self): class DisableAutoGeneratedDateTimesTest (line 397) | class DisableAutoGeneratedDateTimesTest(DDFTestCase): method test_auto_generated_datetimes_must_be_respected_if_nothing_is_specified (line 398) | def test_auto_generated_datetimes_must_be_respected_if_nothing_is_spec... method test_it_must_ignore_auto_generated_datetime_if_a_custom_value_is_provided (line 403) | def test_it_must_ignore_auto_generated_datetime_if_a_custom_value_is_p... method test_checking_if_implementation_works_for_m2m_fields_too (line 410) | def test_checking_if_implementation_works_for_m2m_fields_too(self): class ModelWithCustomValidationTest (line 418) | class ModelWithCustomValidationTest(DDFTestCase): method test_ddf_can_not_create_instance_of_models_with_custom_validations (line 419) | def test_ddf_can_not_create_instance_of_models_with_custom_validations... class ExceptionsLayoutMessagesTest (line 426) | class ExceptionsLayoutMessagesTest(DDFTestCase): method test_UnsupportedFieldError (line 427) | def test_UnsupportedFieldError(self): method test_BadDataError (line 434) | def test_BadDataError(self): method test_InvalidConfigurationError (line 443) | def test_InvalidConfigurationError(self): method test_InvalidManyToManyConfigurationError (line 452) | def test_InvalidManyToManyConfigurationError(self): method test_InvalidModelError (line 459) | def test_InvalidModelError(self): method test_InvalidModelError_for_common_object (line 466) | def test_InvalidModelError_for_common_object(self): class SanityTest (line 475) | class SanityTest(DDFTestCase): method test_create_lots_of_models_to_verify_data_unicity_errors (line 476) | def test_create_lots_of_models_to_verify_data_unicity_errors(self): class AvoidNameCollisionTest (line 481) | class AvoidNameCollisionTest(DDFTestCase): method test_avoid_common_name_instance (line 482) | def test_avoid_common_name_instance(self): method test_avoid_common_name_field (line 496) | def test_avoid_common_name_field(self): FILE: django_dynamic_fixture/tests/test_ddf_checkings.py class DDFTestCase (line 8) | class DDFTestCase(TestCase): method setUp (line 9) | def setUp(self): class TestCheckCompatibility (line 13) | class TestCheckCompatibility(DDFTestCase): method test_default (line 14) | def test_default(self): method test_teaching_ddf (line 32) | def test_teaching_ddf(self): FILE: django_dynamic_fixture/tests/test_ddf_copier.py class DDFTestCase (line 12) | class DDFTestCase(TestCase): method setUp (line 13) | def setUp(self): class CopyTest (line 17) | class CopyTest(DDFTestCase): method test_it_should_copy_from_model_fields (line 18) | def test_it_should_copy_from_model_fields(self): method test_simple_scenario (line 22) | def test_simple_scenario(self): method test_order_of_attributes_must_be_superfluous (line 26) | def test_order_of_attributes_must_be_superfluous(self): method test_it_should_deal_with_multiple_copiers (line 30) | def test_it_should_deal_with_multiple_copiers(self): method test_multiple_copiers_can_depend_of_one_field (line 35) | def test_multiple_copiers_can_depend_of_one_field(self): method test_it_should_deal_with_dependent_copiers (line 40) | def test_it_should_deal_with_dependent_copiers(self): method test_it_should_deal_with_relationships (line 45) | def test_it_should_deal_with_relationships(self): method test_it_should_raise_a_bad_data_error_if_value_is_invalid (line 52) | def test_it_should_raise_a_bad_data_error_if_value_is_invalid(self): method test_it_should_raise_a_invalid_configuration_error_if_expression_is_bugged (line 56) | def test_it_should_raise_a_invalid_configuration_error_if_expression_i... method test_it_should_raise_a_invalid_configuration_error_if_copier_has_cyclic_dependency (line 62) | def test_it_should_raise_a_invalid_configuration_error_if_copier_has_c... method test_it_must_copy_generated_data_mask_too (line 66) | def test_it_must_copy_generated_data_mask_too(self): FILE: django_dynamic_fixture/tests/test_ddf_custom_fields.py class DDFTestCase (line 14) | class DDFTestCase(TestCase): method setUp (line 15) | def setUp(self): class CustomFieldsTest (line 19) | class CustomFieldsTest(DDFTestCase): method test_new_field_that_extends_django_field_must_be_supported (line 20) | def test_new_field_that_extends_django_field_must_be_supported(self): method test_new_field_that_extends_django_field_must_be_supported_with_custom_value (line 24) | def test_new_field_that_extends_django_field_must_be_supported_with_cu... method test_unsupported_field_is_filled_with_null_if_it_is_possible (line 28) | def test_unsupported_field_is_filled_with_null_if_it_is_possible(self): method test_unsupported_field_raise_an_error_if_it_does_not_accept_null_value (line 32) | def test_unsupported_field_raise_an_error_if_it_does_not_accept_null_v... method test_new_field_that_double_inherits_django_field_must_be_supported (line 37) | def test_new_field_that_double_inherits_django_field_must_be_supported... method test_new_field_that_double_inherits_django_field_must_be_supported_with_custom_value (line 41) | def test_new_field_that_double_inherits_django_field_must_be_supported... class NewFullFillAttributesUsingPluginsTest (line 46) | class NewFullFillAttributesUsingPluginsTest(DDFTestCase): method test_custom_field_not_registered_must_raise_an_unsupported_field_exception (line 47) | def test_custom_field_not_registered_must_raise_an_unsupported_field_e... method test_new_fill_field_with_data_generated_by_plugins_with_dict (line 52) | def test_new_fill_field_with_data_generated_by_plugins_with_dict(self): method test_new_fill_field_with_data_generated_by_plugins_with_direct_fuction (line 62) | def test_new_fill_field_with_data_generated_by_plugins_with_direct_fuc... method test_json_field_not_registered_must_raise_an_unsupported_field_exception (line 71) | def test_json_field_not_registered_must_raise_an_unsupported_field_exc... method test_new_fill_json_field_with_data_generated_by_plugins (line 82) | def test_new_fill_json_field_with_data_generated_by_plugins(self): class PostgresCustomFieldsTest (line 102) | class PostgresCustomFieldsTest(DDFTestCase): method test_json_field (line 104) | def test_json_field(self): method test_json_field_as_null (line 110) | def test_json_field_as_null(self): method test_json_field_as_dicts (line 115) | def test_json_field_as_dicts(self): method test_json_field_as_lists (line 120) | def test_json_field_as_lists(self): method test_json_field_as_strings (line 125) | def test_json_field_as_strings(self): FILE: django_dynamic_fixture/tests/test_ddf_custom_models.py class PolymorphicModelTest (line 11) | class PolymorphicModelTest(TestCase): method test_create_polymorphic_model_and_retrieve (line 12) | def test_create_polymorphic_model_and_retrieve(self): method test_create_polymorphic_model_2_and_retrieve (line 16) | def test_create_polymorphic_model_2_and_retrieve(self): method test_cannot_save (line 20) | def test_cannot_save(self): FILE: django_dynamic_fixture/tests/test_ddf_geo.py class DDFTestCase (line 25) | class DDFTestCase(TestCase): method setUp (line 26) | def setUp(self): class GeoDjangoFieldsTest (line 31) | class GeoDjangoFieldsTest(DDFTestCase): method test_geodjango_fields (line 32) | def test_geodjango_fields(self): FILE: django_dynamic_fixture/tests/test_ddf_signals.py class DDFTestCase (line 13) | class DDFTestCase(TestCase): method setUp (line 14) | def setUp(self): class PreSaveTest (line 21) | class PreSaveTest(DDFTestCase): method test_set_pre_save_receiver (line 22) | def test_set_pre_save_receiver(self): method test_pre_save_receiver_must_raise_an_error_if_first_parameter_is_not_a_model_class (line 29) | def test_pre_save_receiver_must_raise_an_error_if_first_parameter_is_n... method test_pre_save_receiver_must_raise_an_error_if_it_is_not_a_function (line 34) | def test_pre_save_receiver_must_raise_an_error_if_it_is_not_a_function... method test_pre_save_receiver_must_raise_an_error_if_it_is_not_an_only_one_argument_function (line 38) | def test_pre_save_receiver_must_raise_an_error_if_it_is_not_an_only_on... method test_pre_save_receiver_must_be_executed_before_saving (line 43) | def test_pre_save_receiver_must_be_executed_before_saving(self): method test_bugged_pre_save_receiver_must_raise_an_error (line 52) | def test_bugged_pre_save_receiver_must_raise_an_error(self): class PostSaveTest (line 60) | class PostSaveTest(DDFTestCase): method test_set_post_save_receiver (line 61) | def test_set_post_save_receiver(self): method test_post_save_receiver_must_raise_an_error_if_first_parameter_is_not_a_model_class (line 68) | def test_post_save_receiver_must_raise_an_error_if_first_parameter_is_... method test_post_save_receiver_must_raise_an_error_if_it_is_not_a_function (line 73) | def test_post_save_receiver_must_raise_an_error_if_it_is_not_a_functio... method test_post_save_receiver_must_raise_an_error_if_it_is_not_an_only_one_argument_function (line 77) | def test_post_save_receiver_must_raise_an_error_if_it_is_not_an_only_o... method test_pre_save_receiver_must_be_executed_before_saving (line 82) | def test_pre_save_receiver_must_be_executed_before_saving(self): method test_bugged_post_save_receiver_must_raise_an_error (line 91) | def test_bugged_post_save_receiver_must_raise_an_error(self): FILE: django_dynamic_fixture/tests/test_ddf_teaching_and_lessons.py class DDFTestCase (line 14) | class DDFTestCase(TestCase): method setUp (line 15) | def setUp(self): class TeachAndLessonsTest (line 20) | class TeachAndLessonsTest(DDFTestCase): method test_teach_a_default_lesson_for_a_model (line 21) | def test_teach_a_default_lesson_for_a_model(self): method test_default_lesson_may_be_overrided_although_it_is_an_anti_pattern (line 26) | def test_default_lesson_may_be_overrided_although_it_is_an_anti_patter... method test_it_must_NOT_raise_an_error_if_user_try_to_use_a_not_saved_default_configuration (line 34) | def test_it_must_NOT_raise_an_error_if_user_try_to_use_a_not_saved_def... method test_it_must_raise_an_error_if_try_to_set_a_static_value_to_a_field_with_unicity (line 37) | def test_it_must_raise_an_error_if_try_to_set_a_static_value_to_a_fiel... method test_it_allows_to_use_masks_as_lessons_for_unique_integer_fields (line 41) | def test_it_allows_to_use_masks_as_lessons_for_unique_integer_fields(s... method test_it_allows_to_use_masks_as_lessons_for_unique_char_fields (line 46) | def test_it_allows_to_use_masks_as_lessons_for_unique_char_fields(self): method test_it_must_accept_dynamic_values_for_fields_with_unicity (line 51) | def test_it_must_accept_dynamic_values_for_fields_with_unicity(self): method test_it_must_NOT_propagate_lessons_for_internal_dependencies (line 54) | def test_it_must_NOT_propagate_lessons_for_internal_dependencies(self): method test_it_must_use_lessons_for_internal_dependencies (line 60) | def test_it_must_use_lessons_for_internal_dependencies(self): method test_it_uses_lessons_for_base_model_when_creating_a_proxy_model (line 68) | def test_it_uses_lessons_for_base_model_when_creating_a_proxy_model(se... method test_it_uses_lessons_for_proxy_models_when_creating_the_base_model (line 74) | def test_it_uses_lessons_for_proxy_models_when_creating_the_base_model... method test_it_uses_lessons_for_proxy_models_when_creating_the_proxy_model (line 80) | def test_it_uses_lessons_for_proxy_models_when_creating_the_proxy_mode... class TeachingAndCustomLessonsTest (line 111) | class TeachingAndCustomLessonsTest(DDFTestCase): method test_a_model_can_have_custom_lessons (line 112) | def test_a_model_can_have_custom_lessons(self): method test_custom_lessons_must_not_be_used_if_not_explicity_specified (line 120) | def test_custom_lessons_must_not_be_used_if_not_explicity_specified(se... method test_a_model_can_have_many_custom_lessons (line 125) | def test_a_model_can_have_many_custom_lessons(self): method test_it_must_raise_an_error_if_user_try_to_use_a_not_saved_configuration (line 135) | def test_it_must_raise_an_error_if_user_try_to_use_a_not_saved_configu... method test_default_lesson_and_custom_lesson_must_work_together (line 139) | def test_default_lesson_and_custom_lesson_must_work_together(self): method test_default_lesson_and_custom_lesson_must_work_together_for_different_models (line 151) | def test_default_lesson_and_custom_lesson_must_work_together_for_diffe... class DDFLibraryTest (line 175) | class DDFLibraryTest(TestCase): method setUp (line 176) | def setUp(self): method test_add_and_get_configuration_without_string_name (line 179) | def test_add_and_get_configuration_without_string_name(self): method test_add_and_get_configuration_with_name (line 197) | def test_add_and_get_configuration_with_name(self): method test_clear_config (line 201) | def test_clear_config(self): method test_clear (line 212) | def test_clear(self): FILE: django_dynamic_fixture/tests/test_decorators.py class SkipForDatabaseTest (line 8) | class SkipForDatabaseTest(TestCase): method setUp (line 9) | def setUp(self): method tearDown (line 12) | def tearDown(self): method method_postgres (line 17) | def method_postgres(self): method test_annotated_method_only_for_postgres (line 20) | def test_annotated_method_only_for_postgres(self): class OnlyForDatabaseTest (line 30) | class OnlyForDatabaseTest(TestCase): method setUp (line 31) | def setUp(self): method tearDown (line 34) | def tearDown(self): method method_sqlite3 (line 39) | def method_sqlite3(self): method test_annotated_method_skip_for_sqlite3 (line 42) | def test_annotated_method_skip_for_sqlite3(self): FILE: django_dynamic_fixture/tests/test_django_helper.py class DjangoHelperAppsTest (line 11) | class DjangoHelperAppsTest(TestCase): method test_get_apps_must_return_all_installed_apps (line 12) | def test_get_apps_must_return_all_installed_apps(self): method test_get_apps_may_be_filtered_by_app_names (line 15) | def test_get_apps_may_be_filtered_by_app_names(self): method test_get_apps_may_ignore_some_apps (line 19) | def test_get_apps_may_ignore_some_apps(self): method test_app_name_must_be_valid (line 23) | def test_app_name_must_be_valid(self): method test_get_app_name_must (line 29) | def test_get_app_name_must(self): method test_get_models_of_an_app_must (line 33) | def test_get_models_of_an_app_must(self): class DjangoHelperModelsTest (line 40) | class DjangoHelperModelsTest(TestCase): method test_get_model_name (line 41) | def test_get_model_name(self): method test_get_unique_model_name (line 45) | def test_get_unique_model_name(self): method test_get_fields_from_model (line 49) | def test_get_fields_from_model(self): method test_get_local_fields (line 56) | def test_get_local_fields(self): method test_get_field_names_of_model (line 63) | def test_get_field_names_of_model(self): method test_get_many_to_many_fields_from_model (line 70) | def test_get_many_to_many_fields_from_model(self): method test_is_model_class (line 78) | def test_is_model_class(self): method test_is_model_abstract (line 84) | def test_is_model_abstract(self): method test_is_model_managed (line 95) | def test_is_model_managed(self): method test_model_has_the_field (line 106) | def test_model_has_the_field(self): class DjangoHelperFieldsTest (line 117) | class DjangoHelperFieldsTest(TestCase): method test_get_unique_field_name (line 118) | def test_get_unique_field_name(self): method test_get_related_model (line 124) | def test_get_related_model(self): method test_field_is_a_parent_link (line 132) | def test_field_is_a_parent_link(self): method test_field_has_choices (line 142) | def test_field_has_choices(self): method test_field_has_default_value (line 149) | def test_field_has_default_value(self): method test_field_is_unique (line 156) | def test_field_is_unique(self): method test_is_key_field (line 163) | def test_is_key_field(self): method test_is_relationship_field (line 169) | def test_is_relationship_field(self): method test_is_file_field (line 177) | def test_is_file_field(self): class PrintFieldValuesTest (line 184) | class PrintFieldValuesTest(TestCase): method test_model_not_saved_do_not_raise_an_exception (line 185) | def test_model_not_saved_do_not_raise_an_exception(self): method test_model_saved_do_not_raise_an_exception (line 189) | def test_model_saved_do_not_raise_an_exception(self): method test_print_accept_list_of_models_too (line 193) | def test_print_accept_list_of_models_too(self): method test_print_accept_a_queryset_too (line 198) | def test_print_accept_a_queryset_too(self): FILE: django_dynamic_fixture/tests/test_fdf.py class FileSystemDjangoTestCaseDealWithDirectoriesTest (line 5) | class FileSystemDjangoTestCaseDealWithDirectoriesTest(FileSystemDjangoTe... method test_create_temp_directory_must_create_an_empty_directory (line 7) | def test_create_temp_directory_must_create_an_empty_directory(self): method test_remove_temp_directory (line 12) | def test_remove_temp_directory(self): method test_remove_temp_directory_must_remove_directories_created_out_of_the_testcase_too (line 17) | def test_remove_temp_directory_must_remove_directories_created_out_of_... method test_remove_temp_directory_must_remove_their_files_too (line 22) | def test_remove_temp_directory_must_remove_their_files_too(self): class FileSystemDjangoTestCaseDealWithTemporaryFilesTest (line 29) | class FileSystemDjangoTestCaseDealWithTemporaryFilesTest(FileSystemDjang... method test_create_temp_file_must_create_a_temporary_file_in_an_arbitrary_directory (line 31) | def test_create_temp_file_must_create_a_temporary_file_in_an_arbitrary... method test_create_temp_file_must_create_an_empty_temporary_file (line 39) | def test_create_temp_file_must_create_an_empty_temporary_file(self): method test_create_temp_file_must_is_ready_to_add_content_to_it (line 43) | def test_create_temp_file_must_is_ready_to_add_content_to_it(self): class FileSystemDjangoTestCaseDealWithSpecificTemporaryFilesTest (line 49) | class FileSystemDjangoTestCaseDealWithSpecificTemporaryFilesTest(FileSys... method test_create_temp_file_with_name_must_create_a_file_in_an_specific_directory_with_an_specific_name (line 51) | def test_create_temp_file_with_name_must_create_a_file_in_an_specific_... method test_create_temp_file_with_name_must_create_an_empty_file (line 61) | def test_create_temp_file_with_name_must_create_an_empty_file(self): method test_create_temp_file_with_name_is_ready_to_add_content_to_it (line 66) | def test_create_temp_file_with_name_is_ready_to_add_content_to_it(self): class FileSystemDjangoTestCaseCanRenameFilesTest (line 73) | class FileSystemDjangoTestCaseCanRenameFilesTest(FileSystemDjangoTestCase): method test_rename_file_must_preserve_the_directory (line 75) | def test_rename_file_must_preserve_the_directory(self): method test_rename_file_must_preserve_the_file_content (line 88) | def test_rename_file_must_preserve_the_file_content(self): class FileSystemDjangoTestCaseCanRemoveFilesTest (line 98) | class FileSystemDjangoTestCaseCanRemoveFilesTest(FileSystemDjangoTestCase): method test_remove_file (line 100) | def test_remove_file(self): method test_remove_file_must_remove_files_with_custom_name_too (line 105) | def test_remove_file_must_remove_files_with_custom_name_too(self): method test_remove_file_must_remove_files_with_data_too (line 111) | def test_remove_file_must_remove_files_with_data_too(self): class FileSystemDjangoTestCaseCanCopyFilesTest (line 118) | class FileSystemDjangoTestCaseCanCopyFilesTest(FileSystemDjangoTestCase): method test_copy_file_to_dir_must_not_remove_original_file (line 120) | def test_copy_file_to_dir_must_not_remove_original_file(self): method test_copy_file_to_dir_must_preserve_file_content (line 129) | def test_copy_file_to_dir_must_preserve_file_content(self): class FileSystemDjangoTestCaseDealWithDjangoFileFieldTest (line 138) | class FileSystemDjangoTestCaseDealWithDjangoFileFieldTest(FileSystemDjan... method test_django_file_must_create_a_django_file_object (line 140) | def test_django_file_must_create_a_django_file_object(self): method test_django_file_must_create_a_temporary_file_ready_to_add_content (line 145) | def test_django_file_must_create_a_temporary_file_ready_to_add_content... class FileSystemDjangoTestCaseTearDownTest (line 154) | class FileSystemDjangoTestCaseTearDownTest(FileSystemDjangoTestCase): method test_teardown_must_delete_all_created_files_in_tests (line 156) | def test_teardown_must_delete_all_created_files_in_tests(self): method test_teardown_must_delete_files_with_content_too (line 166) | def test_teardown_must_delete_files_with_content_too(self): method test_teardown_must_delete_all_created_directories_in_tests (line 174) | def test_teardown_must_delete_all_created_directories_in_tests(self): class FileSystemDjangoTestCaseTearDownFrameworkConfigurationTest (line 182) | class FileSystemDjangoTestCaseTearDownFrameworkConfigurationTest(FileSys... method tearDown (line 184) | def tearDown(self): method test_creating_directory_and_files_for_the_testcase (line 191) | def test_creating_directory_and_files_for_the_testcase(self): FILE: django_dynamic_fixture/tests/test_global_settings.py class AbstractGlobalSettingsTestCase (line 15) | class AbstractGlobalSettingsTestCase(TestCase): method tearDown (line 16) | def tearDown(self): class CustomDataFixture (line 25) | class CustomDataFixture: pass class DDF_DEFAULT_DATA_FIXTURE_TestCase (line 27) | class DDF_DEFAULT_DATA_FIXTURE_TestCase(AbstractGlobalSettingsTestCase): method test_not_configured_must_load_default_value (line 28) | def test_not_configured_must_load_default_value(self): method test_may_be_an_internal_data_fixture_nick_name (line 32) | def test_may_be_an_internal_data_fixture_nick_name(self): method test_may_be_a_path_to_a_custom_data_fixture (line 45) | def test_may_be_a_path_to_a_custom_data_fixture(self): method test_if_path_can_not_be_found_it_will_raise_an_exception (line 50) | def test_if_path_can_not_be_found_it_will_raise_an_exception(self): class DDF_FILL_NULLABLE_FIELDS_TestCase (line 56) | class DDF_FILL_NULLABLE_FIELDS_TestCase(AbstractGlobalSettingsTestCase): method test_not_configured_must_load_default_value (line 57) | def test_not_configured_must_load_default_value(self): method test_must_be_a_boolean (line 61) | def test_must_be_a_boolean(self): method test_must_raise_an_exception_if_it_is_not_a_boolean (line 66) | def test_must_raise_an_exception_if_it_is_not_a_boolean(self): class DDF_IGNORE_FIELDS_TestCase (line 72) | class DDF_IGNORE_FIELDS_TestCase(AbstractGlobalSettingsTestCase): method test_not_configured_must_load_default_value (line 73) | def test_not_configured_must_load_default_value(self): method test_must_be_a_list_of_strings (line 77) | def test_must_be_a_list_of_strings(self): method test_must_raise_an_exception_if_it_is_not_an_list_of_strings (line 82) | def test_must_raise_an_exception_if_it_is_not_an_list_of_strings(self): class DDF_FK_MIN_DEPTH_TestCase (line 88) | class DDF_FK_MIN_DEPTH_TestCase(AbstractGlobalSettingsTestCase): method test_not_configured_must_load_default_value (line 89) | def test_not_configured_must_load_default_value(self): method test_must_be_an_integer (line 93) | def test_must_be_an_integer(self): method test_must_raise_an_exception_if_it_is_not_an_integer (line 98) | def test_must_raise_an_exception_if_it_is_not_an_integer(self): class DDF_VALIDATE_MODELS_TestCase (line 104) | class DDF_VALIDATE_MODELS_TestCase(AbstractGlobalSettingsTestCase): method test_not_configured_must_load_default_value (line 105) | def test_not_configured_must_load_default_value(self): method test_must_be_a_boolean (line 109) | def test_must_be_a_boolean(self): method test_must_raise_an_exception_if_it_is_not_a_boolean (line 114) | def test_must_raise_an_exception_if_it_is_not_a_boolean(self): FILE: django_dynamic_fixture/tests/test_mask.py class DDFTestCase (line 11) | class DDFTestCase(TestCase): method setUp (line 12) | def setUp(self): class MaskTests (line 16) | class MaskTests(DDFTestCase): method test_it_must_generate_random_numbers (line 17) | def test_it_must_generate_random_numbers(self): method test_it_must_generate_lower_ascii_chars (line 21) | def test_it_must_generate_lower_ascii_chars(self): method test_it_must_generate_upper_ascii_chars (line 25) | def test_it_must_generate_upper_ascii_chars(self): method test_it_must_accept_pure_chars (line 29) | def test_it_must_accept_pure_chars(self): method test_it_must_be_able_to_escape_symbols (line 33) | def test_it_must_be_able_to_escape_symbols(self): method test_phone_mask (line 37) | def test_phone_mask(self): method test_address_mask (line 41) | def test_address_mask(self): FILE: django_dynamic_fixture/tests/test_sample_app.py class SampleAppTestCase (line 8) | class SampleAppTestCase(TestCase): method test_publisher (line 9) | def test_publisher(self): method test_author (line 13) | def test_author(self): method test_category (line 20) | def test_category(self): method test_book (line 31) | def test_book(self): method test_book_edition (line 43) | def test_book_edition(self): method test_book_publisher (line 51) | def test_book_publisher(self): FILE: django_dynamic_fixture/tests/test_wrappers.py class NShortcutTest (line 8) | class NShortcutTest(TestCase): method test_shortcut_N (line 9) | def test_shortcut_N(self): class GShortcutTest (line 14) | class GShortcutTest(TestCase): method test_shortcut_G (line 15) | def test_shortcut_G(self): class PShortcutTest (line 20) | class PShortcutTest(TestCase): method test_accept_model_instance (line 21) | def test_accept_model_instance(self): method test_accepts_list (line 25) | def test_accepts_list(self): method test_accepts_tuple (line 28) | def test_accepts_tuple(self): method test_accepts_queryset (line 31) | def test_accepts_queryset(self): class FShortcutTest (line 35) | class FShortcutTest(TestCase): method test_fk (line 36) | def test_fk(self): method test_self_fk (line 41) | def test_self_fk(self): method test_o2o (line 46) | def test_o2o(self): method test_m2m_with_one_element (line 51) | def test_m2m_with_one_element(self): method test_m2m_with_many_elements (line 56) | def test_m2m_with_many_elements(self): method test_full_example (line 62) | def test_full_example(self): method test_two_properties_same_object (line 76) | def test_two_properties_same_object(self): method test_using_look_up_alias (line 82) | def test_using_look_up_alias(self): method test_using_look_up_alias_two_properties_same_object (line 96) | def test_using_look_up_alias_two_properties_same_object(self): method test_using_look_up_alias_two_properties_same_object (line 104) | def test_using_look_up_alias_two_properties_same_object(self): class CShortcutTest (line 113) | class CShortcutTest(TestCase): method test_copying_from_the_same_model (line 114) | def test_copying_from_the_same_model(self): method test_copying_from_a_fk (line 118) | def test_copying_from_a_fk(self): method test_copying_from_a_one2one (line 122) | def test_copying_from_a_one2one(self): method test_copying_from_a_self_fk (line 126) | def test_copying_from_a_self_fk(self): method test_copying_inside_fk (line 130) | def test_copying_inside_fk(self): method test_copying_inside_many_to_many (line 134) | def test_copying_inside_many_to_many(self): class MShortcutTest (line 140) | class MShortcutTest(TestCase): method test_full_data_mask_sample (line 141) | def test_full_data_mask_sample(self): class TeachingAndLessonsTest (line 147) | class TeachingAndLessonsTest(TestCase): method test_global_lesson (line 148) | def test_global_lesson(self): class CreatingMultipleObjectsTest (line 160) | class CreatingMultipleObjectsTest(TestCase): method test_new (line 161) | def test_new(self): method test_get (line 168) | def test_get(self): class LookUpSeparatorTest (line 176) | class LookUpSeparatorTest(TestCase): method test_look_up_alias_with_all_params_combination (line 177) | def test_look_up_alias_with_all_params_combination(self): method test_look_up_alias_as_f_with_all_params_combination (line 187) | def test_look_up_alias_as_f_with_all_params_combination(self): method test_look_up_alias_with_just_one_parameter (line 197) | def test_look_up_alias_with_just_one_parameter(self): method test_look_up_alias_with_many_parameters (line 206) | def test_look_up_alias_with_many_parameters(self): method test_dont_format_default_dict_values (line 212) | def test_dont_format_default_dict_values(self): class PreAndPostSaveTest (line 218) | class PreAndPostSaveTest(TestCase): method tearDown (line 219) | def tearDown(self): method test_pre_save (line 224) | def test_pre_save(self): method test_post_save (line 227) | def test_post_save(self): class UsingModelNameInsteadTest (line 231) | class UsingModelNameInsteadTest(TestCase): method test_compatibility_for_new (line 232) | def test_compatibility_for_new(self): method test_compatibility_for_get (line 236) | def test_compatibility_for_get(self): method test_compatibility_for_teach (line 240) | def test_compatibility_for_teach(self): class OverrideDataFixture (line 246) | class OverrideDataFixture(TestCase): method test_random (line 247) | def test_random(self): method test_sequential (line 253) | def test_sequential(self): method test_static_sequential (line 259) | def test_static_sequential(self): method test_custom_one (line 265) | def test_custom_one(self): class Version (line 273) | class Version(TestCase): method test_version (line 274) | def test_version(self): FILE: queries/count_queries_on_save.py class Report (line 10) | class Report: method __init__ (line 11) | def __init__(self): method add_record (line 15) | def add_record(self, app, model, queries_insert, queries_update): method add_error (line 18) | def add_error(self, msg): method export_csv (line 21) | def export_csv(self, order_by_quantity_queries=False): class CountQueriesOnSave (line 32) | class CountQueriesOnSave: method __init__ (line 33) | def __init__(self): method count_queries_for_model (line 36) | def count_queries_for_model(self, app, model): method execute (line 61) | def execute(self, app_labels=[], exclude_app_labels=[]): FILE: queries/management/commands/count_queries_on_save.py class Command (line 8) | class Command(AppCommand): method handle (line 33) | def handle(self, *args, **options):