Advertisement
hakegawa

Untitled

Jul 10th, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Applications/PyCharm.app/Contents/helpers/pycharm/_jb_unittest_runner.py --path /Users/m.vasilyeva/PycharmProjects/news-autotests/Others/CheckUrl/TestUrls.py
  2. Testing started at 14:29 ...
  3. Launching unittests with arguments python -m unittest discover -s /Users/m.vasilyeva/PycharmProjects/news-autotests/Others/CheckUrl -p TestUrls.py -t /Users/m.vasilyeva/PycharmProjects/news-autotests/Others/CheckUrl in /Users/m.vasilyeva/PycharmProjects/news-autotests/Others/CheckUrl
  4.  
  5.  
  6. Ran 1 test in 0.488s
  7.  
  8. FAILED (failures=1)
  9.  
  10.  
  11.  
  12. ('Assertion error caught with data set ', ('https://news.rambler.ru/',))
  13.  
  14.  
  15. Failure
  16. Traceback (most recent call last):
  17. File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 329, in run
  18. testMethod()
  19. File "/Users/m.vasilyeva/Library/Python/2.7/lib/python/site-packages/unittest_data_provider/__init__.py", line 7, in repl
  20. fn(self, *i)
  21. File "/Users/m.vasilyeva/PycharmProjects/news-autotests/Others/CheckUrl/TestUrls.py", line 31, in test_check_url
  22. self.assertEqual(sc, 190, 'Url: {} return status code: {}'.format(url, sc))
  23. File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 513, in assertEqual
  24. assertion_func(first, second, msg=msg)
  25. File "/usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
  26. raise self.failureException(msg)
  27. AssertionError: Url: https://news.rambler.ru/ return status code: 200
  28.  
  29.  
  30. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement