Module Import alias Import alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore ListLoad Str Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str With Call NameLoad NameLoad NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr CompareEq AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Num decorator_list decorator_list
N/A N/A mock N/A os oslo_serialization jsonutils six StringIO N/A yaml nailgun.db.sqlalchemy fixman nailgun.db.sqlalchemy.models Node nailgun.db.sqlalchemy.models Release nailgun objects nailgun.test.base BaseIntegrationTest nailgun.test.base DeploymentTasksTestMixin TestExtensionsCallback N/A BaseIntegrationTest N/A N/A fixtures N/A admin_network sample_environment setUp N/A N/A self N/A N/A N/A N/A self patcher N/A N/A mock patch nailgun.db.sqlalchemy.fixman.fire_callback_on_node_create N/A N/A self callback_mock N/A N/A N/A self patcher start N/A N/A N/A self addCleanup N/A N/A self patcher stop N/A N/A N/A N/A super TestExtensionsCallback self setUp N/A test_upload_working N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self callback_mock call_count 8 N/A N/A TestFixture N/A BaseIntegrationTest DeploymentTasksTestMixin N/A N/A fixtures N/A admin_network sample_environment N/A maxDiff None test_upload_working N/A N/A self N/A N/A N/A check N/A N/A N/A N/A N/A self db query Node all N/A N/A N/A self assertEqual N/A len N/A list check 8 N/A test_load_fake_deployment_tasks N/A N/A self N/A N/A N/A N/A N/A N/A self env upload_fixtures N/A openstack N/A fxtr_path N/A N/A N/A os path join N/A N/A fixman get_base_fixtures_path deployment_tasks.yaml N/A N/A open fxtr_path f N/A N/A deployment_tasks N/A N/A yaml load f N/A N/A N/A fixman load_fake_deployment_tasks N/A rel N/A N/A N/A N/A N/A self db query Release all N/A N/A deployment_graph N/A N/A N/A objects DeploymentGraph get_for_model rel N/A db_deployment_tasks N/A N/A N/A objects DeploymentGraph get_tasks deployment_graph N/A N/A N/A self _compare_tasks deployment_tasks db_deployment_tasks N/A test_json_fixture N/A N/A self N/A N/A N/A data [{
            "pk": 2,
            "model": "nailgun.release",
            "fields": {
                "name": "JSONFixtureRelease",
                "version": "0.0.1",
                "description": "Sample release for testing",
                "operating_system": "CentOS"
            }
        }] N/A N/A N/A fixman upload_fixture N/A StringIO data loader jsonutils N/A check N/A N/A N/A N/A N/A self db query Release filter N/A N/A Release name JSONFixtureRelease N/A N/A N/A self assertEqual N/A len N/A list check 1 N/A test_yaml_fixture N/A N/A self N/A N/A N/A data ---
- &base_release
  model: nailgun.release
  fields:
    name: BaseRelease
    version: 0.0.1
    operating_system: AbstractOS
- pk: 2
  extend: *base_release
  fields:
    name: YAMLFixtureRelease
    version: 1.0.0
    operating_system: CentOS
 N/A N/A N/A fixman upload_fixture N/A StringIO data loader yaml N/A check N/A N/A N/A N/A N/A self db query Release filter N/A N/A Release name YAMLFixtureRelease N/A N/A N/A self assertEqual N/A len N/A list check 1 N/A check N/A N/A N/A N/A N/A self db query Release filter N/A N/A Release name BaseRelease N/A N/A N/A self assertEqual N/A len N/A list check 0 N/A N/A