In[]:=
test1[]:=Module[{},i=12]​​
In[]:=
test2[]:=Module[{},For[i=1,i<=10,i++,test1[];Print[i]]]
In[]:=
​​test2[]
12