Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "/usr/lib/python3.5/unittest/case.py", line 608, in run
- self._feedErrorsToResult(result, outcome.errors)
- File "/usr/lib/python3.5/unittest/case.py", line 538, in _feedErrorsToResult
- result.addError(test, exc_info)
- File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 112, in addError
- location = self.init_suite(test)
- File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 193, in init_suite
- suite, location, suite_location = self._getSuite(test)
- File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 105, in _getSuite
- location = "django_testid://" + str(test.id())
- TypeError: 'int' object is not callable
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/home/xxx/pycharm/helpers/pycharm/django_test_manage.py", line 168, in <module>
- utility.execute()
- File "/home/xxx/pycharm/helpers/pycharm/django_test_manage.py", line 142, in execute
- _create_command().run_from_argv(self.argv)
- File "/usr/local/lib/python3.5/dist-packages/django/core/management/commands/test.py", line 26, in run_from_argv
- super().run_from_argv(argv)
- File "/usr/local/lib/python3.5/dist-packages/django/core/management/base.py", line 288, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/local/lib/python3.5/dist-packages/django/core/management/base.py", line 335, in execute
- output = self.handle(*args, **options)
- File "/home/xxx/pycharm/helpers/pycharm/django_test_manage.py", line 104, in handle
- failures = TestRunner(test_labels, **options)
- File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 255, in run_tests
- extra_tests=extra_tests, **options)
- File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 156, in run_tests
- return super(DjangoTeamcityTestRunner, self).run_tests(test_labels, extra_tests, **kwargs)
- File "/usr/local/lib/python3.5/dist-packages/django/test/runner.py", line 603, in run_tests
- result = self.run_suite(suite)
- File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 151, in run_suite
- return TeamcityTestRunner.run(self, suite, **self.options)
- File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 262, in run
- test(result)
- File "/usr/lib/python3.5/unittest/suite.py", line 84, in __call__
- return self.run(*args, **kwds)
- File "/usr/lib/python3.5/unittest/suite.py", line 122, in run
- test(result)
- File "/usr/local/lib/python3.5/dist-packages/django/test/testcases.py", line 206, in __call__
- super().__call__(result)
- File "/usr/lib/python3.5/unittest/case.py", line 648, in __call__
- return self.run(*args, **kwds)
- File "/usr/lib/python3.5/unittest/case.py", line 619, in run
- result.stopTest(self)
- File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 205, in stopTest
- location = self.init_suite(test)
- File "/home/xxx/pycharm/helpers/pycharm/tcunittest.py", line 193, in init_suite
- suite, location, suite_location = self._getSuite(test)
- File "/home/xxx/pycharm/helpers/pycharm/django_test_runner.py", line 105, in _getSuite
- location = "django_testid://" + str(test.id())
- TypeError: 'int' object is not callable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement