<p>One of the variables is precisely the path to the directory to fetch the configuration file.</p>
<p><blockquote type="cite">On Aug 4, 2010 6:21 PM, &quot;Michael Foord&quot; &lt;<a href="mailto:fuzzyman@voidspace.org.uk">fuzzyman@voidspace.org.uk</a>&gt; wrote:<br type="attribution">


  

<div bgcolor="#ffffff" text="#000000"><p><font color="#500050">On 04/08/2010 22:59, Jorge Vargas wrote:<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; I&#39;m trying to decouple a package from it&#39;s depl...</font></p>
In general having runtime behaviour that is different between tests and
deployment is generally a bad idea. Hardcoding paths is also generally
a bad idea. Perhaps you can solve both by using some form of
configuration?<br>
<br>
Michael Foord<p><font color="#500050"><br><br><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; testing-in-python mailing list<br>&gt; testing-...</font></p><pre cols="72">-- 
<a href="http://www.ironpythoninaction.com/" target="_blank">http://www.ironpythoninaction.com/</a>
<a href="http://www.voidspace.org.uk/blog" target="_blank">http://www.voidspace.org.uk/blog</a>

READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

</pre>
</div>

</blockquote></p>