title: Can I "fake" a package (or at least a module) in python for testing purposes?
body: <p>I want to fake a package in python. I want to define something so that the code can do</p>
  <pre><code>from somefakepackage.morefakestuff import somethingfake
  </code></pre>
  <p>And somefakepackage is defined in code and so is everything below it. Is that possible? The reason for doing this is to trick my unittest that I got a package ( or as I said in the title, a module ) in the python path which actually is just something mocked up for this unittest.</p>