title: Pybot gives errors "No keyword found" and "Importing test library failed" when executing .robot using Pycharm
body: <p>I am facing a similar issue as :
  <a href="https://stackoverflow.com/questions/21945310/robot-framework-imported-library-class-contains-no-keywords">Robot Framework:: Imported library &#39;class&#39; contains no keywords</a></p>
  
  <p>Here, the user claims to have solved it by adding FileName.ClassName in the Settings section of .robot file. I tried the same, by adding "Library test.MyLib" but gives me the error <strong>"Importing test library 'test.MyLib' failed: Module 'test' does not contain 'MyLib'"</strong>. However, when I remove and revert back to just "Library test", I get a warning as <strong>"[ WARN ] Imported library 'test' contains no keywords"</strong> and an error as <strong>"No keyword with name 'hello' found."</strong> My code is as follows :</p>
  
  <h2>test.py</h2>
  
  <pre><code>class MyLib(object):
  __all__ = ['hello']
  
  def __init__(self):
      name = "Wrath"
  
  def hello(self, *args):
      name = self.args[0]
      print "Hello "+name
  </code></pre>
  
  <h2>test.robot</h2>
  
  <pre><code>*** Settings ***
  Documentation  Suite description
  Library  test
  
  *** Test Cases ***
  Test title
      [Tags]  DEBUG
      hello  Sloth
  
  *** Keywords ***
  </code></pre>
  
  <p>It would be really helpful if I'm advised on the above issue. Have tried out official Robot Framework documentation and the few examples on the web, but seems like I'm doing right. But I have a feeling that I'm probably missing out some minor but crucial thing up there. Precisely, the Keyword section maybe?</p>