daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest May 17th, 2018 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Failure: AttributeError ('module' object has no attribute 'TestCase') ... ERROR
  2.  
  3. ======================================================================
  4. ERROR: Failure: AttributeError ('module' object has no attribute 'TestCase')
  5. ----------------------------------------------------------------------
  6. Traceback (most recent call last):
  7.   File "/home/sayed/Python_Workspace/ansible/ansible_venv/lib/python2.6/site-packages/nose/loader.py", line 418, in loadTestsFromName
  8.     addr.filename, addr.module)
  9.   File "/home/sayed/Python_Workspace/ansible/ansible_venv/lib/python2.6/site-packages/nose/importer.py", line 47, in importFromPath
  10.     return self.importFromDir(dir_path, fqname)
  11.   File "/home/sayed/Python_Workspace/ansible/ansible_venv/lib/python2.6/site-packages/nose/importer.py", line 94, in importFromDir
  12.     mod = load_module(part_fqname, fh, filename, desc)
  13.   File "/home/sayed/Python_Workspace/ansible/demo/test_folder/test_sample.py", line 5, in <module>
  14.     class AddTester(unittest.TestCase):
  15. AttributeError: 'module' object has no attribute 'TestCase'
  16.  
  17. ----------------------------------------------------------------------
  18. Ran 1 test in 0.000s
  19.  
  20. FAILED (errors=1)
RAW Paste Data
Top