<div dir="ltr">I am at my wits end pretty much. I am not sure what is happening here. <div><br></div><div>I am unable to mock an import function. My code is <a href="https://gist.github.com/myusuf3/685083e70bf3f93fd43c">here</a>. After some reading I know you patch where the function is used not where its defined.</div>

<div><br></div><div>I have also tried everything else but the mechanize_url is till running as implemented in code not mocked in test.</div><div><br></div><div>Thoughts? </div><div><br></div><div>-- <br><div>Mahdi Yusuf</div>


</div></div>