title: AttributeError: 'Widget17_Sorter' object has no attribute 'get_data_from_database'
body: <p>Actually I don't see what I am doing wrong here but I guess it is a very simple and basic problem:</p>
  
  <p>Module 1 called Widget17_Sorter.py:</p>
  
  <pre><code>class Widget17_Sorter(object):
  
      def get_data_from_database(self, database_name, user, password, host ):
          ...do stuff here...
  </code></pre>
  
  <p>Module 2 called Test_Widget17_Sorter.py (actually a unit test)</p>
  
  <pre><code>import Widget17_Sorter
  
  class Test(unittest.TestCase):
  
      ...do some other stuff here...
  
      def test_get_data_from_database(self):
          sorter = Widget17_Sorter.Widget17_Sorter()
          raw_data = sorter.get_data_from_database( self.database_name, 
                                      self.user, self.password, self.host )
  </code></pre>
  
  <p>When executing the test I get the following error message:</p>
  
  <pre><code>ERROR: test_get_data_from_database (__main__.Test)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "TestWidget17_Sorter.py", line 50, in test_get_data_from_database
      raw_data = sorter.get_data_from_database( self.database_name,
  AttributeError: 'Widget17_Sorter' object has no attribute 'get_data_from_database'
  </code></pre>
  
  <p>Why?</p>