Module ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Num keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Num keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A __future__ absolute_import unicode_literals django.test.client Client django.test TestCase django.test.client RequestFactory django.db IntegrityError django.core.exceptions ValidationError models Instance factory DatabaseInfraFactory HostFactory InstanceFactory InstanceTestCase N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self client N/A Client N/A N/A self factory N/A RequestFactory N/A N/A self databaseinfra N/A DatabaseInfraFactory N/A N/A self hostname N/A HostFactory N/A N/A self new_instance N/A InstanceFactory address new_instance.localinstance port 123 is_active True is_arbiter False databaseinfra N/A self databaseinfra N/A test_create_instance N/A N/A self N/A N/A N/A instance N/A N/A N/A Instance objects create address test.localinstance port 123 is_active True is_arbiter False hostname N/A self hostname databaseinfra N/A self databaseinfra N/A N/A N/A self assertTrue N/A instance id N/A test_error_duplicate_instance N/A N/A self N/A N/A N/A another_instance N/A self new_instance N/A N/A another_instance id None N/A N/A N/A self assertRaises IntegrityError N/A another_instance save N/A test_cleanup_without_engine_raises_exception N/A N/A self N/A N/A N/A N/A N/A N/A self new_instance databaseinfra engine_id None N/A N/A N/A self assertRaises ValidationError N/A N/A self new_instance clean N/A N/A