def METHOD_NAME(self) -> None:
    """Test the subst_path() method on substitution strings
    """
    pl = SCons.PathList.PathList(('$AAA', '$NULL'))
    result = pl.subst_path(self.env, 'y', 'z')
    assert result == ('aaa',), result