@ -822,7 +822,8 @@ def test_install_collections_from_tar(collection_artifact, monkeypatch):
concrete_artifact_cm = collection . concrete_artifact_manager . ConcreteArtifactsManager ( temp_path , validate_certs = False )
concrete_artifact_cm = collection . concrete_artifact_manager . ConcreteArtifactsManager ( temp_path , validate_certs = False )
requirements = [ Requirement ( ' ansible_namespace.collection ' , ' 0.1.0 ' , to_text ( collection_tar ) , ' file ' , None ) ]
requirements = [ Requirement ( ' ansible_namespace.collection ' , ' 0.1.0 ' , to_text ( collection_tar ) , ' file ' , None ) ]
collection . install_collections ( requirements , to_text ( temp_path ) , [ ] , False , False , False , False , False , False , concrete_artifact_cm , True , False )
collection . install_collections (
requirements , to_text ( temp_path ) , [ ] , False , False , False , False , False , False , concrete_artifact_cm , True , False , set ( ) )
assert os . path . isdir ( collection_path )
assert os . path . isdir ( collection_path )
@ -860,7 +861,8 @@ def test_install_collection_with_circular_dependency(collection_artifact, monkey
concrete_artifact_cm = collection . concrete_artifact_manager . ConcreteArtifactsManager ( temp_path , validate_certs = False )
concrete_artifact_cm = collection . concrete_artifact_manager . ConcreteArtifactsManager ( temp_path , validate_certs = False )
requirements = [ Requirement ( ' ansible_namespace.collection ' , ' 0.1.0 ' , to_text ( collection_tar ) , ' file ' , None ) ]
requirements = [ Requirement ( ' ansible_namespace.collection ' , ' 0.1.0 ' , to_text ( collection_tar ) , ' file ' , None ) ]
collection . install_collections ( requirements , to_text ( temp_path ) , [ ] , False , False , False , False , False , False , concrete_artifact_cm , True , False )
collection . install_collections (
requirements , to_text ( temp_path ) , [ ] , False , False , False , False , False , False , concrete_artifact_cm , True , False , set ( ) )
assert os . path . isdir ( collection_path )
assert os . path . isdir ( collection_path )
@ -897,7 +899,8 @@ def test_install_collection_with_no_dependency(collection_artifact, monkeypatch)
concrete_artifact_cm = collection . concrete_artifact_manager . ConcreteArtifactsManager ( temp_path , validate_certs = False )
concrete_artifact_cm = collection . concrete_artifact_manager . ConcreteArtifactsManager ( temp_path , validate_certs = False )
requirements = [ Requirement ( ' ansible_namespace.collection ' , ' 0.1.0 ' , to_text ( collection_tar ) , ' file ' , None ) ]
requirements = [ Requirement ( ' ansible_namespace.collection ' , ' 0.1.0 ' , to_text ( collection_tar ) , ' file ' , None ) ]
collection . install_collections ( requirements , to_text ( temp_path ) , [ ] , False , False , False , False , False , False , concrete_artifact_cm , True , False )
collection . install_collections (
requirements , to_text ( temp_path ) , [ ] , False , False , False , False , False , False , concrete_artifact_cm , True , False , set ( ) )
assert os . path . isdir ( collection_path )
assert os . path . isdir ( collection_path )