Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/usr/lib/python3.5/unittest/case.py", line 608, in run
  3. self._feedErrorsToResult(result, outcome.errors)
  4. File "/usr/lib/python3.5/unittest/case.py", line 538, in _feedErrorsToResult
  5. result.addError(test, exc_info)
  6. File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 112, in addError
  7. location = self.init_suite(test)
  8. File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 193, in init_suite
  9. suite, location, suite_location = self._getSuite(test)
  10. File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 105, in _getSuite
  11. location = "django_testid://" + str(test.id())
  12. TypeError: 'int' object is not callable
  13.  
  14. During handling of the above exception, another exception occurred:
  15.  
  16. Traceback (most recent call last):
  17. File "/home/xxx/pycharm/helpers/pycharm/django_test_manage.py", line 168, in <module>
  18. utility.execute()
  19. File "/home/xxx/pycharm/helpers/pycharm/django_test_manage.py", line 142, in execute
  20. _create_command().run_from_argv(self.argv)
  21. File "/usr/local/lib/python3.5/dist-packages/django/core/management/commands/test.py", line 26, in run_from_argv
  22. super().run_from_argv(argv)
  23. File "/usr/local/lib/python3.5/dist-packages/django/core/management/base.py", line 288, in run_from_argv
  24. self.execute(*args, **cmd_options)
  25. File "/usr/local/lib/python3.5/dist-packages/django/core/management/base.py", line 335, in execute
  26. output = self.handle(*args, **options)
  27. File "/home/xxx/pycharm/helpers/pycharm/django_test_manage.py", line 104, in handle
  28. failures = TestRunner(test_labels, **options)
  29. File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 255, in run_tests
  30. extra_tests=extra_tests, **options)
  31. File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 156, in run_tests
  32. return super(DjangoTeamcityTestRunner, self).run_tests(test_labels, extra_tests, **kwargs)
  33. File "/usr/local/lib/python3.5/dist-packages/django/test/runner.py", line 603, in run_tests
  34. result = self.run_suite(suite)
  35. File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 151, in run_suite
  36. return TeamcityTestRunner.run(self, suite, **self.options)
  37. File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 262, in run
  38. test(result)
  39. File "/usr/lib/python3.5/unittest/suite.py", line 84, in __call__
  40. return self.run(*args, **kwds)
  41. File "/usr/lib/python3.5/unittest/suite.py", line 122, in run
  42. test(result)
  43. File "/usr/local/lib/python3.5/dist-packages/django/test/testcases.py", line 206, in __call__
  44. super().__call__(result)
  45. File "/usr/lib/python3.5/unittest/case.py", line 648, in __call__
  46. return self.run(*args, **kwds)
  47. File "/usr/lib/python3.5/unittest/case.py", line 619, in run
  48. result.stopTest(self)
  49. File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 205, in stopTest
  50. location = self.init_suite(test)
  51. File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 193, in init_suite
  52. suite, location, suite_location = self._getSuite(test)
  53. File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 105, in _getSuite
  54. location = "django_testid://" + str(test.id())
  55. TypeError: 'int' object is not callable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement