added force flag to sync command.
better transactional integrity
updated mock schemas to use latest sg schema.
renamed tank to sgtk
WIP test refactor for mockgun switch. Most tests are now working.

test_is_version_newer (deploy_tests.test_util.TestVersionCompare) ... ok
test_is_version_older (deploy_tests.test_util.TestVersionCompare) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813269.848583
=================================================================================================================

test_app (deploy_tests.test_zip.TestZipApp) ... ok
test_config (deploy_tests.test_zip.TestZipConfig) ... ok
test_core (deploy_tests.test_zip.TestZipCore) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813270.943910
=================================================================================================================

test_project_one_yml_missing
(folder_tests.test_configuration.TestFolderConfiguration) ... ok
test_project_root_mismatch
(folder_tests.test_configuration.TestFolderConfiguration) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813271.372145
=================================================================================================================

test_create_asset
(folder_tests.test_create_folders.TestCreateFilesystemStructure) ... ok
test_create_project
(folder_tests.test_create_folders.TestCreateFilesystemStructure) ... ok
test_create_sequence
(folder_tests.test_create_folders.TestCreateFilesystemStructure) ... ok
test_create_shot
(folder_tests.test_create_folders.TestCreateFilesystemStructure) ... ok
test_create_task
(folder_tests.test_create_folders.TestCreateFilesystemStructure) ... ok
test_wrong_type_entity_ids
(folder_tests.test_create_folders.TestCreateFilesystemStructure)
Test passing in type other than list, int or tuple as value for
entity_ids parameter. ... ok
test_delete_shot_then_recreate
(folder_tests.test_create_folders.TestFolderCreationEdgeCases) ... ERROR
test_rename_shot_but_keep_on_disk
(folder_tests.test_create_folders.TestFolderCreationEdgeCases) ... ERROR
test_asset (folder_tests.test_create_folders.TestSchemaCreateFolders)
Tests paths used in making a asset are as expected. ... ok
test_illegal_chars
(folder_tests.test_create_folders.TestSchemaCreateFolders) ... ok
test_project (folder_tests.test_create_folders.TestSchemaCreateFolders)
Tests paths used in making a project are as expected. ... ok
test_scene (folder_tests.test_create_folders.TestSchemaCreateFolders)
Tests folder creation works with Step higher up the hierarchy than
normal ... ok
test_shot (folder_tests.test_create_folders.TestSchemaCreateFolders)
Tests paths used in making a shot are as expected. ... ok
test_unicode (folder_tests.test_create_folders.TestSchemaCreateFolders)
... ok
test_white_space
(folder_tests.test_create_folders.TestSchemaCreateFolders) ... ok
test_asset
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiLevelProjectRoot)
Tests paths used in making a asset are as expected. ... ok
test_illegal_chars
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiLevelProjectRoot)
... ok
test_project
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiLevelProjectRoot)
Tests paths used in making a project are as expected. ... ok
test_scene
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiLevelProjectRoot)
Tests folder creation works with Step higher up the hierarchy than
normal ... ok
test_shot
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiLevelProjectRoot)
Tests paths used in making a shot are as expected. ... ok
test_unicode
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiLevelProjectRoot)
... ok
test_white_space
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiLevelProjectRoot)
... ok
test_asset
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiRoot)
Tests paths used in making a asset are as expected. ... ok
test_project
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiRoot) ...
ok
test_shot
(folder_tests.test_create_folders.TestSchemaCreateFoldersMultiRoot)
Tests paths used in making a shot are as expected. ... ok
test_asset
(folder_tests.test_create_folders.TestSchemaCreateFoldersWorkspaces)
Tests paths used in making a shot are as expected. ... {'__retired':
False, 'tank_name': 'project_code', 'type': 'Project', 'id': 1, 'name':
'project_name'}
{1: {'open_notes_count': None, 'code': 'project_name', 'image': None,
'updated_at': None, 'cached_display_name': None, 'id': 1, 'updated_by':
None, 'open_notes': [], 'sg_metadata': None, 'created_by': None,
'sg_path': {'local_path':
'/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813271.372145/project_code',
'name': '[primary] '}, 'sg_status_list': 'wtg', 'sg_entity_name': None,
'sg_secondary_entities': None, 'sg_entity': {'type': 'Project', 'id':
1}, 'description': None, 'sg_pipeline_configuration': {'type':
'PipelineConfiguration', 'id': 123}, 'sg_primary': False,
'sg_id_at_creation': 1, '__retired': False, 'sg_name_at_creation': None,
'sg_root': None, 'sg_entity_type_1': None, 'type': 'CustomEntity01',
'created_at': None, 'sg_relative_path': None, 'project': {'type':
'Project', 'id': 1}, 'filmstrip_image': None,
'sg_configuration_metadata': '[]', 'tag_list': None, 'notes': [],
'sg_type_at_creation': 'Project'}}
ok
test_shot
(folder_tests.test_create_folders.TestSchemaCreateFoldersWorkspaces)
Tests paths used in making a shot are as expected. ... {'__retired':
False, 'tank_name': 'project_code', 'type': 'Project', 'id': 1, 'name':
'project_name'}
{1: {'open_notes_count': None, 'code': 'project_name', 'image': None,
'updated_at': None, 'cached_display_name': None, 'id': 1, 'updated_by':
None, 'open_notes': [], 'sg_metadata': None, 'created_by': None,
'sg_path': {'local_path':
'/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813271.372145/project_code',
'name': '[primary] '}, 'sg_status_list': 'wtg', 'sg_entity_name': None,
'sg_secondary_entities': None, 'sg_entity': {'type': 'Project', 'id':
1}, 'description': None, 'sg_pipeline_configuration': {'type':
'PipelineConfiguration', 'id': 123}, 'sg_primary': False,
'sg_id_at_creation': 1, '__retired': False, 'sg_name_at_creation': None,
'sg_root': None, 'sg_entity_type_1': None, 'type': 'CustomEntity01',
'created_at': None, 'sg_relative_path': None, 'project': {'type':
'Project', 'id': 1}, 'filmstrip_image': None,
'sg_configuration_metadata': '[]', 'tag_list': None, 'notes': [],
'sg_type_at_creation': 'Project'}}
ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813279.062837
=================================================================================================================

test_asset (folder_tests.test_deferred.TestDeferredFolderCreation) ...
ok
test_list_field (folder_tests.test_deferred.TestDeferredFolderCreation)
... ok
test_option_absent
(folder_tests.test_deferred.TestDeferredFolderCreation) ... ok
test_specify_option
(folder_tests.test_deferred.TestDeferredFolderCreation) ... ok
test_specify_option_2
(folder_tests.test_deferred.TestDeferredFolderCreation) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813279.900787
=================================================================================================================

test_other_is_none
(folder_tests.test_optional_fields.TestSchemaCreateFoldersSecondaryEntity)
... ERROR
test_other_isnt_none
(folder_tests.test_optional_fields.TestSchemaCreateFoldersSecondaryEntity)
... ERROR

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813280.200896
=================================================================================================================

test_shot
(folder_tests.test_secondary_entity.TestSchemaCreateFoldersSecondaryEntity)
Tests paths used in making a shot are as expected. ... FAIL
test_task_a
(folder_tests.test_secondary_entity.TestSchemaCreateFoldersSecondaryEntity)
Tests paths used in making a shot are as expected. ... FAIL

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813280.415872
=================================================================================================================

test_create_with_filter_triggering
(folder_tests.test_static_filter.TestStaticFolderFilters) ... ok
test_create_with_no_filter_triggering
(folder_tests.test_static_filter.TestStaticFolderFilters) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813280.663683
=================================================================================================================

test_shot
(folder_tests.test_step_node.TestSchemaCreateFoldersCustomStep)
Tests paths used in making a shot are as expected. ... ERROR
test_step_a
(folder_tests.test_step_node.TestSchemaCreateFoldersCustomStep)
Tests paths used in making a shot are as expected. ... ERROR
test_step_b
(folder_tests.test_step_node.TestSchemaCreateFoldersCustomStep)
Tests paths used in making a shot are as expected. ... ERROR
test_shot (folder_tests.test_step_node.TestSchemaCreateFoldersMultiStep)
Tests paths used in making a shot are as expected. ... ok
test_step_a
(folder_tests.test_step_node.TestSchemaCreateFoldersMultiStep)
Tests paths used in making a shot are as expected. ... ok
test_step_b
(folder_tests.test_step_node.TestSchemaCreateFoldersMultiStep)
Tests paths used in making a shot are as expected. ... ok
test_shot
(folder_tests.test_step_node.TestSchemaCreateFoldersSingleStep)
Tests paths used in making a shot are as expected. ... ok
test_step_a
(folder_tests.test_step_node.TestSchemaCreateFoldersSingleStep)
Tests paths used in making a shot are as expected. ... ok
test_step_b
(folder_tests.test_step_node.TestSchemaCreateFoldersSingleStep)
Tests paths used in making a shot are as expected. ... ok
test_shot
(folder_tests.test_step_node.TestSchemaCreateFoldersStepAndUserSandbox)
Tests paths used in making a shot are as expected. ... ok
test_step_a
(folder_tests.test_step_node.TestSchemaCreateFoldersStepAndUserSandbox)
Tests paths used in making a shot are as expected. ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813282.357233
=================================================================================================================

test_shot (folder_tests.test_task_node.TestSchemaCreateFoldersMultiStep)
Tests paths used in making a shot are as expected. ... ok
test_step_a
(folder_tests.test_task_node.TestSchemaCreateFoldersMultiStep)
Tests paths used in making a shot are as expected. ... ok
test_step_b
(folder_tests.test_task_node.TestSchemaCreateFoldersMultiStep)
Tests paths used in making a shot are as expected. ... ok
test_shot
(folder_tests.test_task_node.TestSchemaCreateFoldersSingleStep)
Tests paths used in making a shot are as expected. ... ok
test_step_b
(folder_tests.test_task_node.TestSchemaCreateFoldersSingleStep)
Tests paths used in making a shot are as expected. ... ok
test_task_a
(folder_tests.test_task_node.TestSchemaCreateFoldersSingleStep)
Tests paths used in making a shot are as expected. ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813283.264281
=================================================================================================================

test_login_not_in_shotgun (folder_tests.test_user_sandbox.TestHumanUser)
... ok
test_made_string (folder_tests.test_user_sandbox.TestHumanUser) ... ok
test_not_made_default (folder_tests.test_user_sandbox.TestHumanUser) ...
ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813283.656972
=================================================================================================================

test_call_hook (platform_tests.test_application.TestExecuteHook) ...
ERROR: App configuration Error for test_app. It will not be loaded: The
Template 'maya_publish_name' referred to by the setting 'test_template'
does not exist in the master template config file!
ERROR
test_request_folder (platform_tests.test_application.TestExecuteHook)
... ERROR: App configuration Error for test_app. It will not be loaded:
The Template 'maya_publish_name' referred to by the setting
'test_template' does not exist in the master template config file!
ERROR
test_bad_app_path (platform_tests.test_application.TestGetApplication)
... ERROR: App configuration Error for test_app. It will not be loaded:
The Template 'maya_publish_name' referred to by the setting
'test_template' does not exist in the master template config file!
ok
test_good_path (platform_tests.test_application.TestGetApplication) ...
ERROR: App configuration Error for test_app. It will not be loaded: The
Template 'maya_publish_name' referred to by the setting 'test_template'
does not exist in the master template config file!
ok
test_get_setting (platform_tests.test_application.TestGetSetting) ...
ERROR: App configuration Error for test_app. It will not be loaded: The
Template 'maya_publish_name' referred to by the setting 'test_template'
does not exist in the master template config file!
ERROR
test_call_hook (platform_tests.test_application.TestHookCache) ... ERROR
test_properties (platform_tests.test_application.TestProperties) ...
ERROR

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813285.704549
=================================================================================================================

test_engine_running (platform_tests.test_engine.TestStartEngine)
Test calling start engine when a current engine already exists. ...
ERROR
test_get_engine_cache_path (platform_tests.test_engine.TestStartEngine)
... ERROR: App configuration Error for test_app. It will not be loaded:
The Template 'maya_publish_name' referred to by the setting
'test_template' does not exist in the master template config file!
ok
test_get_engine_path (platform_tests.test_engine.TestStartEngine) ... ok
test_properties (platform_tests.test_engine.TestStartEngine) ... ERROR:
App configuration Error for test_app. It will not be loaded: The
Template 'maya_publish_name' referred to by the setting 'test_template'
does not exist in the master template config file!
ok
test_valid_engine (platform_tests.test_engine.TestStartEngine) ...
ERROR: App configuration Error for test_app. It will not be loaded: The
Template 'maya_publish_name' referred to by the setting 'test_template'
does not exist in the master template config file!
ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813287.111313
=================================================================================================================

test_app_meta (platform_tests.test_environment.TestEnvironment) ... ok
test_app_settings (platform_tests.test_environment.TestEnvironment) ...
ok
test_basic_properties (platform_tests.test_environment.TestEnvironment)
... ok
test_engine_meta (platform_tests.test_environment.TestEnvironment) ...
ok
test_engine_settings (platform_tests.test_environment.TestEnvironment)
... ok
test_add_app (platform_tests.test_environment.TestUpdateEnvironment) ...
ok
test_add_engine (platform_tests.test_environment.TestUpdateEnvironment)
... ok
test_update_app_settings
(platform_tests.test_environment.TestUpdateEnvironment) ... ok
test_update_engine_settings
(platform_tests.test_environment.TestUpdateEnvironment) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813289.633213
=================================================================================================================

test_context_determines_fields
(platform_tests.test_validation.TestValidateContext) ... ERROR
test_context_missing_fields
(platform_tests.test_validation.TestValidateContext) ... FAIL
test_default_values_detected
(platform_tests.test_validation.TestValidateContext) ... ERROR
test_fields_from_context
(platform_tests.test_validation.TestValidateContext) ... ERROR
test_optional_fields_in_template
(platform_tests.test_validation.TestValidateContext) ... ERROR
test_optional_fields_not_in_template
(platform_tests.test_validation.TestValidateContext) ... ERROR
test_required_fields
(platform_tests.test_validation.TestValidateContext) ... ERROR
test_environment (platform_tests.test_validation.TestValidateFixtures)
... ERROR
test_dict_invalid_schema
(platform_tests.test_validation.TestValidateSchema) ... ok
test_invalid_default_value
(platform_tests.test_validation.TestValidateSchema) ... ok
test_invalid_schema_type
(platform_tests.test_validation.TestValidateSchema) ... ok
test_list_invalid_schema
(platform_tests.test_validation.TestValidateSchema) ... ok
test_template_invalid_schema
(platform_tests.test_validation.TestValidateSchema) ... ok
test_hook_does_not_exist
(platform_tests.test_validation.TestValidateSettings) ... ok
test_list_bad_values
(platform_tests.test_validation.TestValidateSettings) ... ok
test_list_good_values
(platform_tests.test_validation.TestValidateSettings) ... ok
test_required_field_missing
(platform_tests.test_validation.TestValidateSettings) ... ok
test_required_field_missing_in_dict
(platform_tests.test_validation.TestValidateSettings) ... ok
test_required_fields_not_in_template_keys
(platform_tests.test_validation.TestValidateSettings)
Test that fields designated as required in the config exist as keys of
the template. ... ok
test_skip_validate_context
(platform_tests.test_validation.TestValidateSettings)
Test that required templates with the skip validate flag set to true
will not validate against the context. ... ok
test_template_allows_empty
(platform_tests.test_validation.TestValidateSettings) ... ok
test_template_missing_in_mastertemplates
(platform_tests.test_validation.TestValidateSettings)
Test that template refered to in config exists in Tank instances
templates attrubute. ... ok
test_value_type_doesnt_match_schema
(platform_tests.test_validation.TestValidateSettings) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813293.947916
=================================================================================================================

test_all_abstract (test_api.TestAbstractPathsFromTemplate) ... ok
test_bad_seq (test_api.TestAbstractPathsFromTemplate) ... ok
test_specific_frame (test_api.TestAbstractPathsFromTemplate) ... ok
test_specify_eye (test_api.TestAbstractPathsFromTemplate) ... ok
test_specify_name (test_api.TestAbstractPathsFromTemplate) ... ok
test_specify_shot (test_api.TestAbstractPathsFromTemplate) ... ok
test_specify_shot_and_name (test_api.TestAbstractPathsFromTemplate) ...
ok
test_doc_property (test_api.TestDocumentationProperty) ... ok
test_project_from_param (test_api.TestInit) ... ok
test_skip_invalid (test_api.TestPathsFromTemplate)
Test that files not valid for an template are not returned. ... ok
test_skip_sequence (test_api.TestPathsFromTemplate) ... ok
test_skip_version (test_api.TestPathsFromTemplate) ... ok
test_fully_qualified (test_api.TestPathsFromTemplateGlob)
Test case where all field values are supplied. ... ok
test_missing_values (test_api.TestPathsFromTemplateGlob)
Test skipping fields rather than using skip_keys. ... ok
test_skip_dirs (test_api.TestPathsFromTemplateGlob)
Test matching skipping at the directory level. ... ok
test_skip_file_token (test_api.TestPathsFromTemplateGlob)
Test matching skipping tokens in file name. ... ok
test_alternate_branch (test_api.TestTankFromPath) ... ok
test_bad_path (test_api.TestTankFromPath) ... ok
test_primary_branch (test_api.TestTankFromPath) ... ok
test_tank_temp (test_api.TestTankFromPath) ... ok
test_defined_path (test_api.TestTemplateFromPath)
Resolve a path which maps to a template in the standard config ... ok
test_template_string (test_api.TestTemplateFromPath)
Resolve 'path' which is a resolved TemplateString. ... ok
test_undefined_path (test_api.TestTemplateFromPath)
Resolve a path which does not map to a template ... ok
test_get_template (test_api.TestTemplatesLoaded) ... ok
test_project_roots_set (test_api.TestTemplatesLoaded)
Test project root on templates with alternate and primary roots are set
correctly. ... ok
test_templates_loaded (test_api.TestTemplatesLoaded) ... ok
test_version_property (test_api.TestVersionProperty) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813300.554232
=================================================================================================================

test_ambiguous_entity_location (test_context.TestAsTemplateFields) ...
ok
test_double_step (test_context.TestAsTemplateFields) ... ERROR
test_entity_field_query (test_context.TestAsTemplateFields) ... ERROR
test_list_field_step_above_entity (test_context.TestAsTemplateFields)
... ERROR
test_multifield_intermediate (test_context.TestAsTemplateFields) ...
ERROR
test_multifield_leaf (test_context.TestAsTemplateFields) ... ERROR
test_non_context (test_context.TestAsTemplateFields) ... ERROR
test_non_primary_entity_paths (test_context.TestAsTemplateFields) ...
ERROR
test_query_cached (test_context.TestAsTemplateFields) ... ERROR
test_query_from_template (test_context.TestAsTemplateFields) ... ERROR
test_shot_step (test_context.TestAsTemplateFields) ... ERROR
test_static (test_context.TestAsTemplateFields) ... ERROR
test_static_ambiguous (test_context.TestAsTemplateFields) ... ERROR
test_template_query_invalid (test_context.TestAsTemplateFields) ... ok
test_template_query_none (test_context.TestAsTemplateFields) ... ERROR
test_template_without_entity (test_context.TestAsTemplateFields) ...
ERROR
test_user_ctx (test_context.TestAsTemplateFields)
Check other_user is set when contained in the path. ... FAIL
test_empty_context (test_context.TestCreateEmpty) ... ok
test_equal (test_context.TestEq) ... ok
test_lazy_load_user (test_context.TestEq) ... ok
test_not_context (test_context.TestEq) ... ok
test_not_equal (test_context.TestEq) ... ok
test_data_missing_non_task (test_context.TestFromEntity) ... ok
test_data_missing_task (test_context.TestFromEntity) ... ERROR
test_entity_from_cache (test_context.TestFromEntity) ... ERROR
test_step_higher_entity (test_context.TestFromEntity) ... ERROR
test_task_from_sg (test_context.TestFromEntity) ... ERROR
test_external_path (test_context.TestFromPath) ... ok
test_non_primary_path (test_context.TestFromPath)
Check that path which is not child of primary root create context. ...
FAIL
test_shot (test_context.TestFromPath) ... FAIL
test_user_path (test_context.TestFromPath)
Check other_user is set when contained in the path. ... FAIL
test_shot (test_context.TestFromPathWithPrevious) ... ERROR
test_equal_custom (test_context.TestSerailize) ... ok
test_equal_yml (test_context.TestSerailize) ... ok
test_empty (test_context.TestUrl) ... ok
test_entity (test_context.TestUrl) ... ok
test_project (test_context.TestUrl) ... ok
test_task (test_context.TestUrl) ... ERROR
test_local_login (test_context.TestUser) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813315.525356
=================================================================================================================

test_add_utf_name (test_path_cache.TestAddMapping) ... ERROR
test_dupe_failure (test_path_cache.TestAddMapping) ... ERROR
test_multi_entity_path (test_path_cache.TestAddMapping) ... ERROR
test_non_primary_path (test_path_cache.TestAddMapping) ... ERROR
test_primary_path (test_path_cache.TestAddMapping) ... ERROR
test_add_and_find_project_non_primary_root
(test_path_cache.TestGetEntity) ... ERROR
test_add_and_find_project_primary_root (test_path_cache.TestGetEntity)
... ERROR
test_non_project_alternate (test_path_cache.TestGetEntity)
Test finding a non-project entity whose path includes a non-primary root
... ERROR
test_non_project_path (test_path_cache.TestGetEntity) ... ERROR
test_non_project_primary_path (test_path_cache.TestGetEntity)
Test finding a non-project entity whose path includes the primary
project root. ... ERROR
test_add_and_find_project (test_path_cache.TestGetPaths) ... ERROR
test_add_and_find_shot (test_path_cache.TestGetPaths) ... ERROR
test_db_columns (test_path_cache.TestInit)
Test that expected columns are created in db ... ok
test_db_exists (test_path_cache.TestInit) ... ok
test_root_map (test_path_cache.TestInit)
Test that mapping of project root locations is created ... ok
test_different_case (test_path_cache.Test_SeperateRoots) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813320.611051
=================================================================================================================

test_alt_path (test_root.TestGetPrimaryRoot) ... ok
test_non_project_path (test_root.TestGetPrimaryRoot) ... ok
test_primary (test_root.TestGetPrimaryRoot) ... ok
test_file_missing (test_root.TestGetProjectRoots)
Case roots file is not present ... ok
test_paths (test_root.TestGetProjectRoots)
Test paths match those in roots for current os. ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813322.214856
=================================================================================================================

test_confilicting_key_names (test_template.TestInit) ... ok
test_defalt_enum_whitespace (test_template.TestInit) ... ok
test_definition_read_only (test_template.TestInit) ... ok
test_illegal_optional (test_template.TestInit) ... ok
test_key_alias (test_template.TestInit) ... ok
test_copy (test_template.TestKeys) ... ok
test_existing_key (test_template.TestKeys) ... ok
test_keys_type (test_template.TestKeys) ... ok
test_missing_key (test_template.TestKeys) ... ok
test_mixed_keys (test_template.TestKeys) ... ok
test_complex (test_template.TestMakeTemplatePaths) ... ok
test_dup_def_diff_roots (test_template.TestMakeTemplatePaths) ... ok
test_duplicate_definitions_complex (test_template.TestMakeTemplatePaths)
... ok
test_duplicate_definitions_simple (test_template.TestMakeTemplatePaths)
... ok
test_simple (test_template.TestMakeTemplatePaths) ... ok
test_complex (test_template.TestMakeTemplateStrings) ... ok
test_duplicate_definitions (test_template.TestMakeTemplateStrings) ...
ok
test_simple (test_template.TestMakeTemplateStrings) ... ok
test_validate_tempalte_missing (test_template.TestMakeTemplateStrings)
... ok
test_validate_with_set (test_template.TestMakeTemplateStrings) ... ok
test_aliased_key (test_template.TestMissingKeys) ... ok
test_all_keys_missing (test_template.TestMissingKeys) ... ok
test_default_disabled (test_template.TestMissingKeys) ... ok
test_default_enabled (test_template.TestMissingKeys) ... ok
test_empty_fields (test_template.TestMissingKeys) ... ok
test_no_keys_missing (test_template.TestMissingKeys) ... ok
test_optional_values (test_template.TestMissingKeys) ... ok
test_some_keys_missing (test_template.TestMissingKeys) ... ok
test_value_none (test_template.TestMissingKeys) ... ok
test_choices (test_template.TestReadTemplates)
Check a template key which uses choices. ... ERROR
test_exclusions (test_template.TestReadTemplates) ... ERROR
test_no_name (test_template.TestRepr) ... ok
test_optional (test_template.TestRepr) ... ok
test_template (test_template.TestRepr) ... ok
test_mixed_sep (test_template.TestSplitPath)
tests that split works with mixed seperators ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813329.713665
=================================================================================================================

test_set_choices (test_templatekey.TestEyeKey) ... ok
test_str_from_value_default (test_templatekey.TestEyeKey) ... ok
test_validate (test_templatekey.TestEyeKey) ... ok
test_bad_default (test_templatekey.TestIntegerKey)
Case that specified default does not match type. ... ok
test_format_set (test_templatekey.TestIntegerKey) ... ok
test_illegal_choice (test_templatekey.TestIntegerKey)
Choice conflict with type. ... ok
test_repr (test_templatekey.TestIntegerKey) ... ok
test_str_from_value_bad (test_templatekey.TestIntegerKey) ... ok
test_str_from_value_formatted (test_templatekey.TestIntegerKey) ... ok
test_str_from_value_good (test_templatekey.TestIntegerKey) ... ok
test_str_from_value_ignore_type (test_templatekey.TestIntegerKey) ... ok
test_str_from_value_zero (test_templatekey.TestIntegerKey) ... ok
test_validate_bad (test_templatekey.TestIntegerKey) ... ok
test_validate_int_good (test_templatekey.TestIntegerKey) ... ok
test_validate_string_good (test_templatekey.TestIntegerKey) ... ok
test_value_from_str (test_templatekey.TestIntegerKey) ... ok
test_aliases (test_templatekey.TestMakeKeys) ... ok
test_bad_format (test_templatekey.TestMakeKeys) ... ok
test_bad_type (test_templatekey.TestMakeKeys) ... ok
test_int (test_templatekey.TestMakeKeys) ... ok
test_no_data (test_templatekey.TestMakeKeys) ... ok
test_sequence (test_templatekey.TestMakeKeys) ... ok
test_shotgun_fields (test_templatekey.TestMakeKeys) ... ok
test_string (test_templatekey.TestMakeKeys) ... ok
test_choices_frame_spec (test_templatekey.TestSequenceKey) ... ok
test_choices_int (test_templatekey.TestSequenceKey) ... ok
test_default_bad (test_templatekey.TestSequenceKey) ... ok
test_default_frame_spec (test_templatekey.TestSequenceKey) ... ok
test_default_frame_spec_choices (test_templatekey.TestSequenceKey) ...
ok
test_default_int (test_templatekey.TestSequenceKey) ... ok
test_framespec_long_format (test_templatekey.TestSequenceKey) ... ok
test_framespec_no_format (test_templatekey.TestSequenceKey) ... ok
test_framspec_short_format (test_templatekey.TestSequenceKey) ... ok
test_str_from_value_bad (test_templatekey.TestSequenceKey) ... ok
test_str_from_value_default_one (test_templatekey.TestSequenceKey) ...
ok
test_str_from_value_default_three (test_templatekey.TestSequenceKey) ...
ok
test_str_from_value_format_whitespace (test_templatekey.TestSequenceKey)
Use of FORMAT: prefix with whitespace. ... ok
test_str_from_value_formatted (test_templatekey.TestSequenceKey) ... ok
test_str_from_value_good (test_templatekey.TestSequenceKey) ... ok
test_str_from_value_ignore_type (test_templatekey.TestSequenceKey) ...
ok
test_validate_bad (test_templatekey.TestSequenceKey) ... ok
test_validate_good (test_templatekey.TestSequenceKey) ... ok
test_value_from_str (test_templatekey.TestSequenceKey) ... ok
test_choices (test_templatekey.TestStringKey) ... ok
test_choices_exclusions_conflict (test_templatekey.TestStringKey)
Case that same value is put as valid and invalid choice. ... ok
test_default (test_templatekey.TestStringKey) ... ok
test_default_choices_mismatch (test_templatekey.TestStringKey)
Case that default value is not part of enumerated choices. ... ok
test_exclusions (test_templatekey.TestStringKey) ... ok
test_illegal_choice_alphanumic (test_templatekey.TestStringKey) ... ok
test_name_set (test_templatekey.TestStringKey) ... ok
test_no_default (test_templatekey.TestStringKey) ... ok
test_repr (test_templatekey.TestStringKey) ... ok
test_shotgun_entity_type_set (test_templatekey.TestStringKey) ... ok
test_shotgun_field_name_set (test_templatekey.TestStringKey) ... ok
test_shotgun_field_name_without_entity_type
(test_templatekey.TestStringKey) ... ok
test_str_from_value_alphanum_bad (test_templatekey.TestStringKey) ... ok
test_str_from_value_alphanum_empty (test_templatekey.TestStringKey) ...
ok
test_str_from_value_alphanum_good (test_templatekey.TestStringKey) ...
ok
test_str_from_value_bad_choice (test_templatekey.TestStringKey) ... ok
test_str_from_value_empty (test_templatekey.TestStringKey) ... ok
test_str_from_value_good (test_templatekey.TestStringKey) ... ok
test_str_from_value_good_choice (test_templatekey.TestStringKey) ... ok
test_str_from_value_ignore_type_alphanum
(test_templatekey.TestStringKey) ... ok
test_str_from_value_no_default (test_templatekey.TestStringKey) ... ok
test_str_from_value_use_default (test_templatekey.TestStringKey) ... ok
test_validate_alphanum_bad (test_templatekey.TestStringKey) ... ok
test_validate_alphanum_good (test_templatekey.TestStringKey) ... ok
test_validate_string_good (test_templatekey.TestStringKey) ... ok
test_value_from_str (test_templatekey.TestStringKey) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813343.565140
=================================================================================================================

test_aliased_key (test_templatepath.TestApplyFields) ... ok
test_bad_alphanumeric (test_templatepath.TestApplyFields) ... ok
test_bad_values_not_ints (test_templatepath.TestApplyFields) ... ok
test_default (test_templatepath.TestApplyFields) ... ok
test_enum_bad_key (test_templatepath.TestApplyFields) ... ok
test_fields_missing (test_templatepath.TestApplyFields) ... ok
test_format_default (test_templatepath.TestApplyFields) ... ok
test_frame_number (test_templatepath.TestApplyFields) ... ok
test_good_alphanumeric (test_templatepath.TestApplyFields) ... ok
test_houdini_framespec (test_templatepath.TestApplyFields) ... ok
test_multi_key_optional (test_templatepath.TestApplyFields) ... ok
test_none_value (test_templatepath.TestApplyFields) ... ok
test_nuke_framespec (test_templatepath.TestApplyFields) ... ok
test_optional_none_value (test_templatepath.TestApplyFields) ... ok
test_optional_values (test_templatepath.TestApplyFields) ... ok
test_shake_ampersand (test_templatepath.TestApplyFields) ... ok
test_shake_hash_alt (test_templatepath.TestApplyFields) ... ok
test_simple (test_templatepath.TestApplyFields) ... ok
test_working_enum (test_templatepath.TestApplyFields) ... ok
test_wrong_type (test_templatepath.TestApplyFields) ... ok
test_aliased_key (test_templatepath.TestGetFields) ... ok
test_anim_path (test_templatepath.TestGetFields) ... ok
test_bad_enum (test_templatepath.TestGetFields) ... ok
test_conflicting_values (test_templatepath.TestGetFields) ... ok
test_definition_short_end_key (test_templatepath.TestGetFields)
Tests case when input path longer than definition which ends with key.
... ok
test_definition_short_end_static (test_templatepath.TestGetFields)
Tests case when input path longer than definition which ... ok
test_diff_seperators (test_templatepath.TestGetFields) ... ok
test_different_case (test_templatepath.TestGetFields) ... ok
test_double_int_key (test_templatepath.TestGetFields)
Test case that key of type int appears twice in definition. ... ok
test_frame_number (test_templatepath.TestGetFields) ... ok
test_houdini_framespec (test_templatepath.TestGetFields) ... ok
test_is_optional (test_templatepath.TestGetFields) ... ok
test_key_at_end (test_templatepath.TestGetFields) ... ok
test_key_first (test_templatepath.TestGetFields) ... ok
test_key_first_short (test_templatepath.TestGetFields) ... ok
test_matching_enum (test_templatepath.TestGetFields) ... ok
test_missing_values (test_templatepath.TestGetFields) ... ok
test_no_keys_invalid (test_templatepath.TestGetFields) ... ok
test_no_keys_valid (test_templatepath.TestGetFields) ... ok
test_nuke_framespec (test_templatepath.TestGetFields) ... ok
test_one_key (test_templatepath.TestGetFields) ... ok
test_one_key_no_match (test_templatepath.TestGetFields) ... ok
test_optional_sections (test_templatepath.TestGetFields) ... ok
test_optional_with_underscore (test_templatepath.TestGetFields) ... ok
test_shake_ampersand (test_templatepath.TestGetFields) ... ok
test_skip_key (test_templatepath.TestGetFields) ... ok
test_string_for_int_type (test_templatepath.TestGetFields) ... ok
test_valid_alphanumeric (test_templatepath.TestGetFields)
Bug reported in Ticket #17090 ... ok
test_ambigous_alphanum_first (test_templatepath.TestGetKeysSepInValue)
... ok
test_double_key_first_precise (test_templatepath.TestGetKeysSepInValue)
... ok
test_static_simple (test_templatepath.TestInit) ... ok
test_static_tokens (test_templatepath.TestInit) ... ok
test_aliased_key (test_templatepath.TestParent)
Test template which uses aliased key in it's definition. ... ok
test_no_parent_exists (test_templatepath.TestParent) ... ok
test_parent_exists (test_templatepath.TestParent) ... ok
test_bad_base_path (test_templatepath.TestValidate) ... ok
test_bad_characters (test_templatepath.TestValidate) ... ok
test_conflicting_shot (test_templatepath.TestValidate) ... ok
test_frame_number_valid (test_templatepath.TestValidate) ... ok
test_houdini_format_valid (test_templatepath.TestValidate) ... ok
test_incorrect_length (test_templatepath.TestValidate) ... ok
test_missing_directories (test_templatepath.TestValidate) ... ok
test_missing_version (test_templatepath.TestValidate) ... ok
test_mixed_framespecs (test_templatepath.TestValidate) ... ok
test_nuke_format_valid (test_templatepath.TestValidate) ... ok
test_optional_values (test_templatepath.TestValidate) ... ok
test_shake_format_valid (test_templatepath.TestValidate) ... ok
test_skip_key_type_not_match (test_templatepath.TestValidate) ... ok
test_skipping_keys_key_missing (test_templatepath.TestValidate) ... ok
test_skipping_keys_key_present (test_templatepath.TestValidate) ... ok
test_valid_path (test_templatepath.TestValidate) ... ok
test_with_invalid_input_values (test_templatepath.TestValidate) ... ok
test_with_valid_input_values (test_templatepath.TestValidate) ... ok
test_ignore_type (test_templatepath.Test_ApplyFields) ... ok
test_skip_enum (test_templatepath.Test_ApplyFields) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813358.317917
=================================================================================================================

test_good (test_templatestring.TestApplyFields) ... ok
test_optional_value (test_templatestring.TestApplyFields) ... ok
test_value_missing (test_templatestring.TestApplyFields) ... ok
test_conflicting_values (test_templatestring.TestGetFields) ... ok
test_definition_short_end_static (test_templatestring.TestGetFields)
Tests case when input string longer than definition which ... ok
test_key_first (test_templatestring.TestGetFields) ... ok
test_key_only (test_templatestring.TestGetFields) ... ok
test_missing_value (test_templatestring.TestGetFields) ... ok
test_optional_values (test_templatestring.TestGetFields) ... ok
test_simple (test_templatestring.TestGetFields) ... ok
test_definition_preserves_back_slashes (test_templatestring.TestInit)
... ok
test_definition_preseves_leading_slash (test_templatestring.TestInit)
... ok
test_static_key_first (test_templatestring.TestInit) ... ok
test_static_simple (test_templatestring.TestInit) ... ok
test_none (test_templatestring.TestParent) ... ok
test_conflicting_values (test_templatestring.TestValidate) ... ok
test_key_first (test_templatestring.TestValidate) ... ok
test_missing_static (test_templatestring.TestValidate) ... ok
test_optional_values (test_templatestring.TestValidate) ... ok
test_valid (test_templatestring.TestValidate) ... ok

=================================================================================================================
Tank test data location:
/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813362.551029
=================================================================================================================

test_case_difference (util_tests.test_shotgun.TestCalcPathCache) ... ok
test_abstracted_sequence_path
(util_tests.test_shotgun.TestShotgunFindPublish) ... ok
test_find (util_tests.test_shotgun.TestShotgunFindPublish) ... ok
test_missing_paths (util_tests.test_shotgun.TestShotgunFindPublish) ...
ok
test_most_recent_path (util_tests.test_shotgun.TestShotgunFindPublish)
... ok
test_multi_root (util_tests.test_shotgun.TestShotgunFindPublish) ... ok
test_sequence_path (util_tests.test_shotgun.TestShotgunFindPublish) ...
ok
test_find (util_tests.test_shotgun.TestShotgunFindPublishMissingStorage)
... ok
test_abstracted_sequence_path
(util_tests.test_shotgun.TestShotgunFindPublishTankStorage) ... ok
test_find (util_tests.test_shotgun.TestShotgunFindPublishTankStorage)
... ok
test_missing_paths
(util_tests.test_shotgun.TestShotgunFindPublishTankStorage) ... ok
test_most_recent_path
(util_tests.test_shotgun.TestShotgunFindPublishTankStorage) ... ok
test_multi_root
(util_tests.test_shotgun.TestShotgunFindPublishTankStorage) ... ok
test_sequence_path
(util_tests.test_shotgun.TestShotgunFindPublishTankStorage) ... ok
test_sequence_abstracted_path
(util_tests.test_shotgun.TestShotgunRegisterPublish)
Test that if path supplied represents a sequence, the abstract version
of that ... ERROR

======================================================================
ERROR: test_delete_shot_then_recreate
(folder_tests.test_create_folders.TestFolderCreationEdgeCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/folder_tests/test_create_folders.py",
line 783, in test_delete_shot_then_recreate
    engine=None)
  File "/Users/manne/git/tk-core/python/tank/folder/operations.py", line
201, in process_filesystem_structure
    folders_created = io_receiver.execute_folder_creation()
  File "/Users/manne/git/tk-core/python/tank/folder/folder_io.py", line
114, in execute_folder_creation
    raise TankError("Folder creation aborted: %s" % e)
TankError: Folder creation aborted: The path
'/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813271.372145/project_code/sequences/seq_code/shot_code'
cannot be processed because it is already associated with 1 'Shot' (id
shot_code) in Shotgun. You are now trying to associate it with Shot
'12345' (id shot_code). Please run the command 'tank check_folders Shot
12345' to get a more detailed overview of why you are getting this
message and what you can do to resolve this situation.

======================================================================
ERROR: test_rename_shot_but_keep_on_disk
(folder_tests.test_create_folders.TestFolderCreationEdgeCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/folder_tests/test_create_folders.py",
line 828, in test_rename_shot_but_keep_on_disk
    engine=None)
  File "/Users/manne/git/tk-core/python/tank/folder/operations.py", line
201, in process_filesystem_structure
    folders_created = io_receiver.execute_folder_creation()
  File "/Users/manne/git/tk-core/python/tank/folder/folder_io.py", line
114, in execute_folder_creation
    raise TankError("Folder creation aborted: %s" % e)
TankError: Folder creation aborted: The path
'/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813271.372145/project_code/sequences/seq_code/XYZ'
cannot be created because another path
'/var/folders/3n/7r4bsy015cb63sssgyj02t1h0000gn/T/tankTemporaryTestData_1380813271.372145/project_code/sequences/seq_code/shot_code'
is already associated with Shot XYZ. This typically happens if an item
in Shotgun is renamed or if the path naming in the folder creation
configuration is changed. Please run the command 'tank check_folders
Shot 1' to get a more detailed overview of why you are getting this
message and what you can do to resolve this situation.

======================================================================
ERROR: test_other_is_none
(folder_tests.test_optional_fields.TestSchemaCreateFoldersSecondaryEntity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/folder_tests/test_optional_fields.py",
line 71, in test_other_is_none
    engine=None)
  File "/Users/manne/git/tk-core/python/tank/folder/operations.py", line
199, in process_filesystem_structure
    engine)
  File "/Users/manne/git/tk-core/python/tank/folder/operations.py", line
92, in create_single_folder_item
    engine)
  File "/Users/manne/git/tk-core/python/tank/folder/folder_types.py",
line 177, in create_folders
    engine=engine)
  File "/Users/manne/git/tk-core/python/tank/folder/folder_types.py",
line 141, in create_folders
    created_data = self._create_folders_impl(io_receiver, path, sg_data)
  File "/Users/manne/git/tk-core/python/tank/folder/folder_types.py",
line 886, in _create_folders_impl
    for entity in self.__get_entities(sg_data):
  File "/Users/manne/git/tk-core/python/tank/folder/folder_types.py",
line 964, in __get_entities
    entities = self._tk.shotgun.find(self._entity_type,
resolved_filters, fields_list)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 303, in find
    self._validate_entity_fields(entity_type, fields)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 141, in _validate_entity_fields
    raise ShotgunError("%s is not a valid field for entity %s" % (field,
entity_type))
ShotgunError: sg_other_field is not a valid field for entity Shot

======================================================================
ERROR: test_other_isnt_none
(folder_tests.test_optional_fields.TestSchemaCreateFoldersSecondaryEntity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/folder_tests/test_optional_fields.py",
line 89, in test_other_isnt_none
    engine=None)
  File "/Users/manne/git/tk-core/python/tank/folder/operations.py", line
199, in process_filesystem_structure
    engine)
  File "/Users/manne/git/tk-core/python/tank/folder/operations.py", line
92, in create_single_folder_item
    engine)
  File "/Users/manne/git/tk-core/python/tank/folder/folder_types.py",
line 177, in create_folders
    engine=engine)
  File "/Users/manne/git/tk-core/python/tank/folder/folder_types.py",
line 141, in create_folders
    created_data = self._create_folders_impl(io_receiver, path, sg_data)
  File "/Users/manne/git/tk-core/python/tank/folder/folder_types.py",
line 886, in _create_folders_impl
    for entity in self.__get_entities(sg_data):
  File "/Users/manne/git/tk-core/python/tank/folder/folder_types.py",
line 964, in __get_entities
    entities = self._tk.shotgun.find(self._entity_type,
resolved_filters, fields_list)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 303, in find
    self._validate_entity_fields(entity_type, fields)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 141, in _validate_entity_fields
    raise ShotgunError("%s is not a valid field for entity %s" % (field,
entity_type))
ShotgunError: sg_other_field is not a valid field for entity Shot

======================================================================
ERROR: test_shot
(folder_tests.test_step_node.TestSchemaCreateFoldersCustomStep)
Tests paths used in making a shot are as expected.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/folder_tests/test_step_node.py",
line 498, in setUp
    self.add_to_sg_mock_db(entities)
  File
"/Users/manne/git/tk-core/tests/python/tank_test/tank_test_base.py",
line 284, in add_to_sg_mock_db
    self.tk.shotgun._db[et][eid] = entity
KeyError: 'FooStep'

======================================================================
ERROR: test_step_a
(folder_tests.test_step_node.TestSchemaCreateFoldersCustomStep)
Tests paths used in making a shot are as expected.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/folder_tests/test_step_node.py",
line 498, in setUp
    self.add_to_sg_mock_db(entities)
  File
"/Users/manne/git/tk-core/tests/python/tank_test/tank_test_base.py",
line 284, in add_to_sg_mock_db
    self.tk.shotgun._db[et][eid] = entity
KeyError: 'FooStep'

======================================================================
ERROR: test_step_b
(folder_tests.test_step_node.TestSchemaCreateFoldersCustomStep)
Tests paths used in making a shot are as expected.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/folder_tests/test_step_node.py",
line 498, in setUp
    self.add_to_sg_mock_db(entities)
  File
"/Users/manne/git/tk-core/tests/python/tank_test/tank_test_base.py",
line 284, in add_to_sg_mock_db
    self.tk.shotgun._db[et][eid] = entity
KeyError: 'FooStep'

======================================================================
ERROR: test_call_hook (platform_tests.test_application.TestExecuteHook)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_application.py",
line 117, in test_call_hook
    app = self.engine.apps["test_app"]
KeyError: 'test_app'

======================================================================
ERROR: test_request_folder
(platform_tests.test_application.TestExecuteHook)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_application.py",
line 121, in test_request_folder
    app = self.engine.apps["test_app"]
KeyError: 'test_app'

======================================================================
ERROR: test_get_setting (platform_tests.test_application.TestGetSetting)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_application.py",
line 88, in setUp
    self.app = self.engine.apps["test_app"]
KeyError: 'test_app'

======================================================================
ERROR: test_call_hook (platform_tests.test_application.TestHookCache)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_application.py",
line 50, in setUp
    self.engine = tank.platform.start_engine("test_engine", self.tk,
context)
  File "/Users/manne/git/tk-core/python/tank/platform/engine.py", line
766, in start_engine
    "tank.platform.current_engine().destroy()." % current_engine())
TankError: An engine (<Sgtk Engine 0x114c94710: test_engine, env: test>)
is already running! Before you can start a new engine, please shut down
the previous one using the command
tank.platform.current_engine().destroy().

======================================================================
ERROR: test_properties (platform_tests.test_application.TestProperties)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_application.py",
line 50, in setUp
    self.engine = tank.platform.start_engine("test_engine", self.tk,
context)
  File "/Users/manne/git/tk-core/python/tank/platform/engine.py", line
766, in start_engine
    "tank.platform.current_engine().destroy()." % current_engine())
TankError: An engine (<Sgtk Engine 0x114c94710: test_engine, env: test>)
is already running! Before you can start a new engine, please shut down
the previous one using the command
tank.platform.current_engine().destroy().

======================================================================
ERROR: test_engine_running (platform_tests.test_engine.TestStartEngine)
Test calling start engine when a current engine already exists.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/platform_tests/test_engine.py",
line 69, in test_engine_running
    engine = tank.platform.start_engine(engine_name, self.tk,
self.context)
  File "/Users/manne/git/tk-core/python/tank/platform/engine.py", line
766, in start_engine
    "tank.platform.current_engine().destroy()." % current_engine())
TankError: An engine (<Sgtk Engine 0x114c94710: test_engine, env: test>)
is already running! Before you can start a new engine, please shut down
the previous one using the command
tank.platform.current_engine().destroy().

======================================================================
ERROR: test_context_determines_fields
(platform_tests.test_validation.TestValidateContext)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_validation.py", line
450, in test_context_determines_fields
    self.config)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 41, in validate_settings
    v.validate(settings)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 343, in validate
    self.__validate_settings_value(settings_key, value_schema,
settings[settings_key])
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 383, in __validate_settings_value
    self.__validate_settings_template(settings_key, schema, value)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 485, in __validate_settings_template
    context_fields = set(
self._context.as_template_fields(cur_template).keys() )
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'Sequence seq_name'
- this context does not have any associated folders created on disk yet
and therefore no template data can be extracted. Please run the folder
creation for http://unit_test_mock_sg/detail/Sequence/3 and try again!

======================================================================
ERROR: test_default_values_detected
(platform_tests.test_validation.TestValidateContext)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_validation.py", line
465, in test_default_values_detected
    validate_settings(self.app_name, self.tk, self.context,
self.metadata, self.config)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 41, in validate_settings
    v.validate(settings)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 343, in validate
    self.__validate_settings_value(settings_key, value_schema,
settings[settings_key])
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 383, in __validate_settings_value
    self.__validate_settings_template(settings_key, schema, value)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 485, in __validate_settings_template
    context_fields = set(
self._context.as_template_fields(cur_template).keys() )
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'Sequence seq_name'
- this context does not have any associated folders created on disk yet
and therefore no template data can be extracted. Please run the folder
creation for http://unit_test_mock_sg/detail/Sequence/3 and try again!

======================================================================
ERROR: test_fields_from_context
(platform_tests.test_validation.TestValidateContext)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_validation.py", line
408, in test_fields_from_context
    validate_settings(self.app_name, self.tk, self.context,
self.metadata, self.config)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 41, in validate_settings
    v.validate(settings)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 343, in validate
    self.__validate_settings_value(settings_key, value_schema,
settings[settings_key])
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 383, in __validate_settings_value
    self.__validate_settings_template(settings_key, schema, value)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 485, in __validate_settings_template
    context_fields = set(
self._context.as_template_fields(cur_template).keys() )
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'Sequence seq_name'
- this context does not have any associated folders created on disk yet
and therefore no template data can be extracted. Please run the folder
creation for http://unit_test_mock_sg/detail/Sequence/3 and try again!

======================================================================
ERROR: test_optional_fields_in_template
(platform_tests.test_validation.TestValidateContext)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_validation.py", line
480, in test_optional_fields_in_template
    validate_settings(self.app_name, self.tk, self.context, schema,
self.config)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 41, in validate_settings
    v.validate(settings)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 343, in validate
    self.__validate_settings_value(settings_key, value_schema,
settings[settings_key])
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 383, in __validate_settings_value
    self.__validate_settings_template(settings_key, schema, value)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 485, in __validate_settings_template
    context_fields = set(
self._context.as_template_fields(cur_template).keys() )
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'Sequence seq_name'
- this context does not have any associated folders created on disk yet
and therefore no template data can be extracted. Please run the folder
creation for http://unit_test_mock_sg/detail/Sequence/3 and try again!

======================================================================
ERROR: test_optional_fields_not_in_template
(platform_tests.test_validation.TestValidateContext)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_validation.py", line
495, in test_optional_fields_not_in_template
    validate_settings(self.app_name, self.tk, self.context, schema,
self.config)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 41, in validate_settings
    v.validate(settings)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 343, in validate
    self.__validate_settings_value(settings_key, value_schema,
settings[settings_key])
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 383, in __validate_settings_value
    self.__validate_settings_template(settings_key, schema, value)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 485, in __validate_settings_template
    context_fields = set(
self._context.as_template_fields(cur_template).keys() )
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'Sequence seq_name'
- this context does not have any associated folders created on disk yet
and therefore no template data can be extracted. Please run the folder
creation for http://unit_test_mock_sg/detail/Sequence/3 and try again!

======================================================================
ERROR: test_required_fields
(platform_tests.test_validation.TestValidateContext)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_validation.py", line
393, in test_required_fields
    validate_settings(self.app_name, self.tk, self.context,
self.metadata, self.config)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 41, in validate_settings
    v.validate(settings)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 343, in validate
    self.__validate_settings_value(settings_key, value_schema,
settings[settings_key])
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 383, in __validate_settings_value
    self.__validate_settings_template(settings_key, schema, value)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 485, in __validate_settings_template
    context_fields = set(
self._context.as_template_fields(cur_template).keys() )
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'Sequence seq_name'
- this context does not have any associated folders created on disk yet
and therefore no template data can be extracted. Please run the folder
creation for http://unit_test_mock_sg/detail/Sequence/3 and try again!

======================================================================
ERROR: test_environment
(platform_tests.test_validation.TestValidateFixtures)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_validation.py", line
536, in test_environment
    validate_settings(app_name, self.tk, context, schema, settings)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 41, in validate_settings
    v.validate(settings)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 343, in validate
    self.__validate_settings_value(settings_key, value_schema,
settings[settings_key])
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 383, in __validate_settings_value
    self.__validate_settings_template(settings_key, schema, value)
  File "/Users/manne/git/tk-core/python/tank/platform/validation.py",
line 425, in __validate_settings_template
    "not exist in the master template config file!" % (template_name,
settings_key))
TankError: The Template 'maya_publish_name' referred to by the setting
'test_template' does not exist in the master template config file!

======================================================================
ERROR: test_double_step (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 548, in
test_double_step
    result = self.ctx.as_template_fields(self.template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_entity_field_query (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 477, in
test_entity_field_query
    result = self.ctx.as_template_fields(template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_list_field_step_above_entity
(test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 597, in
test_list_field_step_above_entity
    result = ctx.as_template_fields(template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Asset
asset_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Asset/1 and try
again!

======================================================================
ERROR: test_multifield_intermediate (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 691, in
test_multifield_intermediate
    result = self.ctx.as_template_fields(self.template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_multifield_leaf (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 677, in
test_multifield_leaf
    result = self.ctx.as_template_fields(self.template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_non_context (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 612, in
test_non_context
    result = self.ctx.as_template_fields(self.template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_non_primary_entity_paths (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 727, in
test_non_primary_entity_paths
    result = self.ctx.as_template_fields(template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_query_cached (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 513, in
test_query_cached
    result = self.ctx.as_template_fields(template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_query_from_template (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 465, in
test_query_from_template
    result = self.ctx.as_template_fields(template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_shot_step (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 529, in
test_shot_step
    result = self.ctx.as_template_fields(self.template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_static (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 633, in
test_static
    result = ctx.as_template_fields(template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_3' - this context does not have any associated folders created on
disk yet and therefore no template data can be extracted. Please run the
folder creation for http://unit_test_mock_sg/detail/Shot/3 and try
again!

======================================================================
ERROR: test_static_ambiguous (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 660, in
test_static_ambiguous
    result = ctx.as_template_fields(template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_3' - this context does not have any associated folders created on
disk yet and therefore no template data can be extracted. Please run the
folder creation for http://unit_test_mock_sg/detail/Shot/3 and try
again!

======================================================================
ERROR: test_template_query_none (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 500, in
test_template_query_none
    fields = self.ctx.as_template_fields(template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_template_without_entity (test_context.TestAsTemplateFields)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 713, in
test_template_without_entity
    result = self.ctx.as_template_fields(template)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 399, in
as_template_fields
    "creation for %s and try again!" % (self, self.shotgun_url))
TankError: Cannot resolve template data for context 'step_name, Shot
shot_name' - this context does not have any associated folders created
on disk yet and therefore no template data can be extracted. Please run
the folder creation for http://unit_test_mock_sg/detail/Shot/2 and try
again!

======================================================================
ERROR: test_data_missing_task (test_context.TestFromEntity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 430, in
test_data_missing_task
    self.assertRaises(TankError, context.from_entity, self.tk,
task["type"], task["id"])
  File "/Users/manne/git/tk-core/tests/python/unittest2/case.py", line
475, in assertRaises
    callableObj(*args, **kwargs)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 631, in
from_entity
    task_context = _task_from_sg(tk, entity_id)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 937, in
_task_from_sg
    task = tk.shotgun.find_one("Task", [["id","is",task_id]],
standard_fields + additional_fields)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 361, in find_one
    results = self.find(entity_type, filters, fields=fields,
order=order, filter_operator=filter_operator, retired_only=retired_only)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 303, in find
    self._validate_entity_fields(entity_type, fields)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 141, in _validate_entity_fields
    raise ShotgunError("%s is not a valid field for entity %s" % (field,
entity_type))
ShotgunError: additional_field is not a valid field for entity Task

======================================================================
ERROR: test_entity_from_cache (test_context.TestFromEntity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/python/mock.py", line 1220, in
patched
    return func(*args, **keywargs)
  File "/Users/manne/git/tk-core/tests/test_context.py", line 332, in
test_entity_from_cache
    self.check_entity(self.shot, result.entity)
  File "/Users/manne/git/tk-core/tests/test_context.py", line 436, in
check_entity
    self.assertEquals(first_entity["name"], second_entity["name"])
KeyError: 'name'

======================================================================
ERROR: test_step_higher_entity (test_context.TestFromEntity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/python/mock.py", line 1220, in
patched
    return func(*args, **keywargs)
  File "/Users/manne/git/tk-core/tests/test_context.py", line 356, in
test_step_higher_entity
    self.check_entity(self.step, result.step)
  File "/Users/manne/git/tk-core/tests/test_context.py", line 434, in
check_entity
    self.assertEquals(first_entity["type"], second_entity["type"])
TypeError: 'NoneType' object is not subscriptable

======================================================================
ERROR: test_task_from_sg (test_context.TestFromEntity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/python/mock.py", line 1220, in
patched
    return func(*args, **keywargs)
  File "/Users/manne/git/tk-core/tests/test_context.py", line 374, in
test_task_from_sg
    self.sg_mock.find_one.reset_mock()
AttributeError: 'TestFromEntity' object has no attribute 'sg_mock'

======================================================================
ERROR: test_shot (test_context.TestFromPathWithPrevious)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/python/mock.py", line 1220, in
patched
    return func(*args, **keywargs)
  File "/Users/manne/git/tk-core/tests/test_context.py", line 242, in
test_shot
    prev_ctx = self.get_task_context()
  File "/Users/manne/git/tk-core/tests/test_context.py", line 234, in
get_task_context
    return context.from_entity(self.tk, self.task["type"],
self.task["id"])
  File "/Users/manne/git/tk-core/python/tank/context.py", line 631, in
from_entity
    task_context = _task_from_sg(tk, entity_id)
  File "/Users/manne/git/tk-core/python/tank/context.py", line 937, in
_task_from_sg
    task = tk.shotgun.find_one("Task", [["id","is",task_id]],
standard_fields + additional_fields)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 361, in find_one
    results = self.find(entity_type, filters, fields=fields,
order=order, filter_operator=filter_operator, retired_only=retired_only)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 303, in find
    self._validate_entity_fields(entity_type, fields)
  File "/Users/manne/git/tk-core/tests/python/tank_test/mockgun.py",
line 141, in _validate_entity_fields
    raise ShotgunError("%s is not a valid field for entity %s" % (field,
entity_type))
ShotgunError: additional_field is not a valid field for entity Task

======================================================================
ERROR: test_task (test_context.TestUrl)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 298, in
test_task
    self.sg_mock.find_one.reset_mock()
AttributeError: 'TestUrl' object has no attribute 'sg_mock'

======================================================================
ERROR: test_add_utf_name (test_path_cache.TestAddMapping)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 174, in
test_add_utf_name
    self.path_cache.add_mapping(entity_type, entity_id, entity_name,
full_path)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_dupe_failure (test_path_cache.TestAddMapping)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 89, in
test_dupe_failure
    self.path_cache.add_mapping(self.entity["type"], self.entity["id"],
self.entity["name"], full_path)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_multi_entity_path (test_path_cache.TestAddMapping)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 112, in
test_multi_entity_path
    self.path_cache.add_mapping(self.entity["type"], self.entity["id"],
self.entity["name"], full_path)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_non_primary_path (test_path_cache.TestAddMapping)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 158, in
test_non_primary_path
    self.path_cache.add_mapping(self.entity["type"], self.entity["id"],
self.entity["name"], full_path)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_primary_path (test_path_cache.TestAddMapping)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 76, in
test_primary_path
    self.path_cache.add_mapping(self.entity["type"], self.entity["id"],
self.entity["name"], full_path)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_add_and_find_project_non_primary_root
(test_path_cache.TestGetEntity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 192, in
setUp
    self.path_cache.add_mapping("Project", self.project["id"],
self.project["name"], self.project_root)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_add_and_find_project_primary_root
(test_path_cache.TestGetEntity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 192, in
setUp
    self.path_cache.add_mapping("Project", self.project["id"],
self.project["name"], self.project_root)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_non_project_alternate (test_path_cache.TestGetEntity)
Test finding a non-project entity whose path includes a non-primary root
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 192, in
setUp
    self.path_cache.add_mapping("Project", self.project["id"],
self.project["name"], self.project_root)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_non_project_path (test_path_cache.TestGetEntity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 192, in
setUp
    self.path_cache.add_mapping("Project", self.project["id"],
self.project["name"], self.project_root)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_non_project_primary_path (test_path_cache.TestGetEntity)
Test finding a non-project entity whose path includes the primary
project root.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 192, in
setUp
    self.path_cache.add_mapping("Project", self.project["id"],
self.project["name"], self.project_root)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_add_and_find_project (test_path_cache.TestGetPaths)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 255, in
test_add_and_find_project
    self.path_cache.add_mapping("Project", self.project["id"],
self.project["name"], self.project_root)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_add_and_find_shot (test_path_cache.TestGetPaths)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_path_cache.py", line 247, in
test_add_and_find_shot
    self.path_cache.add_mapping("Shot", shot_id, shot_name,
primary_shot_path)
AttributeError: 'PathCache' object has no attribute 'add_mapping'

======================================================================
ERROR: test_choices (test_template.TestReadTemplates)
Check a template key which uses choices.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_template.py", line 361, in
test_choices
    key = self.tk.templates["nuke_shot_render_stereo"].keys["eye"]
KeyError: 'nuke_shot_render_stereo'

======================================================================
ERROR: test_exclusions (test_template.TestReadTemplates)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_template.py", line 365, in
test_exclusions
    key = self.tk.templates["asset_work_area"].keys["Asset"]
KeyError: 'asset_work_area'

======================================================================
ERROR: test_sequence_abstracted_path
(util_tests.test_shotgun.TestShotgunRegisterPublish)
Test that if path supplied represents a sequence, the abstract version
of that
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/util_tests/test_shotgun.py", line
422, in test_sequence_abstracted_path
    actual_path =
self.tk.shotgun.create.call_args[0][1]["path"]["local_path"]
AttributeError: 'function' object has no attribute 'call_args'

======================================================================
FAIL: test_shot
(folder_tests.test_secondary_entity.TestSchemaCreateFoldersSecondaryEntity)
Tests paths used in making a shot are as expected.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/folder_tests/test_secondary_entity.py",
line 124, in test_shot
    self.assertEquals( len(shot_paths), 1 )
AssertionError: 0 != 1

======================================================================
FAIL: test_task_a
(folder_tests.test_secondary_entity.TestSchemaCreateFoldersSecondaryEntity)
Tests paths used in making a shot are as expected.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/folder_tests/test_secondary_entity.py",
line 158, in test_task_a
    self.assertEquals( len(step_paths), 1 )
AssertionError: 0 != 1

======================================================================
FAIL: test_context_missing_fields
(platform_tests.test_validation.TestValidateContext)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Users/manne/git/tk-core/tests/platform_tests/test_validation.py", line
432, in test_context_missing_fields
    self.config)
  File
"/Users/manne/git/tk-core/tests/python/tank_test/tank_test_base.py",
line 322, in check_error_message
    self.assertEquals(message, e.message)
AssertionError: "Context Sequence seq_name can not determine value for
fields ['sppk'] needed by template <Sgtk TemplatePath {field_2}{sppk}>"
!= "Cannot resolve template data for context 'Sequence seq_name' - this
context does not have any associated folders created on disk yet and
therefore no template data can be extracted. Please run the folder
creation for http://unit_test_mock_sg/detail/Sequence/3 and try again!"

======================================================================
FAIL: test_user_ctx (test_context.TestAsTemplateFields)
Check other_user is set when contained in the path.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 739, in
test_user_ctx
    self.assertEquals(self.shot["id"], ctx.entity["id"])
AssertionError: 2 != 3

======================================================================
FAIL: test_non_primary_path (test_context.TestFromPath)
Check that path which is not child of primary root create context.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/python/mock.py", line 1220, in
patched
    return func(*args, **keywargs)
  File "/Users/manne/git/tk-core/tests/test_context.py", line 191, in
test_non_primary_path
    self.assertEquals(self.shot["id"], result.entity["id"])
AssertionError: 2 != 3

======================================================================
FAIL: test_shot (test_context.TestFromPath)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/python/mock.py", line 1220, in
patched
    return func(*args, **keywargs)
  File "/Users/manne/git/tk-core/tests/test_context.py", line 161, in
test_shot
    self.assertEquals(self.shot["id"], result.entity["id"])
AssertionError: 2 != 3

======================================================================
FAIL: test_user_path (test_context.TestFromPath)
Check other_user is set when contained in the path.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/manne/git/tk-core/tests/test_context.py", line 207, in
test_user_path
    self.assertEquals(self.shot["id"], result.entity["id"])
AssertionError: 2 != 3

----------------------------------------------------------------------
Ran 410 tests in 100.541s

FAILED (failures=7, errors=55)
Mannes-MacBook-Pro:tests manne$