title: Testing with Nose. Why am I getting "ImportError: No module named bin.app"
body: <p>I'm currently on the last exercise (EX52) of Learn Python The Hard Way and I'm using Nose to test out the code (the exercise is to expand Nose testing to test out more of the code). </p>
  
  <p>This is my file structure</p>
  
  <pre><code>bin
      app.py
  gothonweb
      __init__.py
      map.py
  sessions
  tests
      map_tests.py
      app_tests.py
  </code></pre>
  
  <p>The sample code tests out the map.py file using the map_tests.py code. </p>
  
  <pre><code>from nose.tools import *
  from gothonweb.map import *
  
  def test_room():
      central_corridor = Room("Central Corridor" ... 
  </code></pre>
  
  <p>So I thought I'd expand this by creating a second test file, called app_tests.py that tested the app.py file. It contains this code</p>
  
  <pre><code>from nose.tools import *
  from bin.app import *
  
  def test():
      pass
  </code></pre>
  
  <p>When I run nosetests I get this error: <strong>ImportError: No module named bin.app</strong></p>
  
  <p>What am I doing wrong?</p>