Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ClassDef bases NameLoad body ClassDef bases body Assign NameStore NameLoad Assign NameStore Str Assign NameStore NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str decorator_list decorator_list
N/A N/A os django.test TestCase data_importer.tasks DataImpoterTask django.contrib.auth.models User example.models Person data_importer.importers CSVImporter django.core mail N/A LOCAL_DIR N/A N/A N/A os path dirname __file__ TestMeta N/A CSVImporter N/A Meta N/A N/A N/A model Person N/A delimiter ; N/A ignore_first_line True N/A N/A DataImporterTaskTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A owner _ N/A N/A N/A User objects get_or_create username test email test@test.com N/A source N/A N/A N/A os path join LOCAL_DIR data/person_test.csv N/A N/A self importer TestMeta N/A N/A self task N/A DataImpoterTask N/A N/A N/A N/A self task run importer N/A self importer source source owner owner N/A test_task_run N/A N/A self N/A N/A N/A created_person N/A N/A N/A N/A N/A Person objects filter first_name Eldo last_name Rock age 28 exists N/A N/A N/A self assertTrue created_person N/A test_task_create_all N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A Person objects all count 3 N/A test_send_email N/A N/A self N/A N/A N/A outbox N/A N/A mail outbox N/A 0 N/A N/A N/A self assertEqual N/A outbox body Your file was imported with sucess N/A N/A N/A self assertEqual N/A outbox to N/A test@test.com N/A N/A