The Nigerians were placed in Group B with Egypt, Algeria and Mali while South Africa face hosts Senegal, Zambia and Tunisia in Group A. South Africa visited Tunisia for two warm-up matches last weekend, winning 4-0 and losing 2-1 when the teams met again.
Nigeria edged Congo to reach Senegal while Egypt outclassed Uganda with rising star Kahraba scoring four goals. Algeria overcame Sierra Leone and Mali were too strong for Mauritania and 2012 London Olympics qualifiers Gabon.
Senegal are automatic participants as hosts and South Africa won at home against Zimbabwe with Keegan Dolly scoring twice after drawing away. Tunisia beat Sudan comfortably and Morocco narrowly while Zambia eliminated Botswana and edged Côte d'Ivoire in a penalty shoot-out.
Senegal host the 28 November-12 December tournament in Dakar and Mbour, which lies 80 kilometres south of the capital.