@ -769,26 +769,31 @@ class PathMapper:
if path . startswith ( ' test/lib/ansible_test/_internal/sanity/ ' ) :
if path . startswith ( ' test/lib/ansible_test/_internal/sanity/ ' ) :
return {
return {
' sanity ' : ' all ' , # test infrastructure, run all sanity checks
' sanity ' : ' all ' , # test infrastructure, run all sanity checks
' integration ' : ' ansible-test ' , # run ansible-test self tests
}
}
if path . startswith ( ' test/lib/ansible_test/_data/sanity/ ' ) :
if path . startswith ( ' test/lib/ansible_test/_data/sanity/ ' ) :
return {
return {
' sanity ' : ' all ' , # test infrastructure, run all sanity checks
' sanity ' : ' all ' , # test infrastructure, run all sanity checks
' integration ' : ' ansible-test ' , # run ansible-test self tests
}
}
if path . startswith ( ' test/lib/ansible_test/_internal/units/ ' ) :
if path . startswith ( ' test/lib/ansible_test/_internal/units/ ' ) :
return {
return {
' units ' : ' all ' , # test infrastructure, run all unit tests
' units ' : ' all ' , # test infrastructure, run all unit tests
' integration ' : ' ansible-test ' , # run ansible-test self tests
}
}
if path . startswith ( ' test/lib/ansible_test/_data/units/ ' ) :
if path . startswith ( ' test/lib/ansible_test/_data/units/ ' ) :
return {
return {
' units ' : ' all ' , # test infrastructure, run all unit tests
' units ' : ' all ' , # test infrastructure, run all unit tests
' integration ' : ' ansible-test ' , # run ansible-test self tests
}
}
if path . startswith ( ' test/lib/ansible_test/_data/pytest/ ' ) :
if path . startswith ( ' test/lib/ansible_test/_data/pytest/ ' ) :
return {
return {
' units ' : ' all ' , # test infrastructure, run all unit tests
' units ' : ' all ' , # test infrastructure, run all unit tests
' integration ' : ' ansible-test ' , # run ansible-test self tests
}
}
if path . startswith ( ' test/lib/ansible_test/_data/requirements/ ' ) :
if path . startswith ( ' test/lib/ansible_test/_data/requirements/ ' ) :