Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. C:\Users\ang3l\AppData\Local\Programs\Python\Python37-32\python.exe C:/Users/ang3l/PycharmProjects/PR301-Assignment-1-Version-1/unit_tests_bad_smell.py
  2. test_class_handler (__main__.TestBadSmells) ... C:\Users\ang3l\PycharmProjects\PR301-Assignment-1-Version-1\fileHandler.py:41: ResourceWarning: unclosed file <_io.TextIOWrapper name='test4.txt' mode='r' encoding='cp1252'>
  3. file = open(file_name, 'r').readlines()
  4. ResourceWarning: Enable tracemalloc to get the object allocation traceback
  5. ok
  6. test_do_display_create_bar_chart_called (__main__.TestBadSmells) ... ok
  7. test_do_display_print_called (__main__.TestBadSmells) ... ok
  8. test_fileHandler (__main__.TestBadSmells) ... C:\Users\ang3l\PycharmProjects\PR301-Assignment-1-Version-1\fileHandler.py:41: ResourceWarning: unclosed file <_io.TextIOWrapper name='uml.txt' mode='r' encoding='cp1252'>
  9. file = open(file_name, 'r').readlines()
  10. ResourceWarning: Enable tracemalloc to get the object allocation traceback
  11. please choose one or see help display
  12. The PlantUML file is loaded
  13. Files are created
  14. The PlantUML file is loaded
  15. Files are created
  16. Cannot find this file
  17. 'NoneType' object is not subscriptable
  18. Files are created
  19. The PlantUML file is loaded
  20. Files are created
  21. Cannot find this file
  22. 'NoneType' object is not subscriptable
  23. ok
  24. test_get_all_num (__main__.TestBadSmells) ... ok
  25. test_get_attributes (__main__.TestBadSmells) ... ok
  26. test_get_class_name (__main__.TestBadSmells) ... ok
  27. test_get_methods (__main__.TestBadSmells) ... ok
  28. test_identify_r_type (__main__.TestBadSmells) ... ok
  29. test_output_class_exception_invalid_attribute_name (__main__.TestBadSmells) ... ok
  30. test_output_class_exception_invalid_class_name (__main__.TestBadSmells) ... ok
  31. test_output_class_exception_invalid_method_name (__main__.TestBadSmells) ... ok
  32. test_output_class_no_attributes (__main__.TestBadSmells) ... ok
  33. test_output_class_normal (__main__.TestBadSmells) ... ok
  34. test_output_classes_files_created_and_print_is_called (__main__.TestBadSmells) ... Files are created
  35. Incorrect file type, please see help load
  36. Files are created
  37. Invalid name: Name
  38. ok
  39. test_output_classes_writes_to_files (__main__.TestBadSmells) ... ok
  40. test_read_text_file (__main__.TestBadSmells) ... ok
  41.  
  42. ----------------------------------------------------------------------
  43. Ran 17 tests in 0.032s
  44.  
  45. OK
  46. File doesn't exist
  47.  
  48. Process finished with exit code 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement