Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various errors in unittests #17

Closed
jeromeleonard opened this issue Feb 24, 2021 · 0 comments
Closed

Various errors in unittests #17

jeromeleonard opened this issue Feb 24, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jeromeleonard
Copy link
Contributor

======================================================================
ERROR: test_error_response (tests.test_suite_analyzer.TestErrorResponse)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jerome/Devel/TheHive-Project/cortexutils/tests/test_suite_analyzer.py", line 116, in test_error_response
    output = self.analyzer.fpoutput.getvalue().strip()
AttributeError: 'Analyzer' object has no attribute 'fpoutput'

======================================================================
ERROR: test_report_response (tests.test_suite_analyzer.TestReportResponse)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jerome/Devel/TheHive-Project/cortexutils/tests/test_suite_analyzer.py", line 140, in test_report_response
    output = self.analyzer.fpoutput.getvalue().strip()
AttributeError: 'Analyzer' object has no attribute 'fpoutput'

======================================================================
ERROR: test_check_tlp_disabled (tests.test_suite_analyzer.TestTlpConfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jerome/Devel/TheHive-Project/cortexutils/tests/test_suite_analyzer.py", line 78, in test_check_tlp_disabled
    self.assertEqual(self.analyzer._Analyzer__check_tlp(), True)
AttributeError: 'Analyzer' object has no attribute '_Analyzer__check_tlp'

======================================================================
ERROR: test_check_tlp_ko (tests.test_suite_analyzer.TestTlpConfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jerome/Devel/TheHive-Project/cortexutils/tests/test_suite_analyzer.py", line 87, in test_check_tlp_ko
    self.assertEqual(self.analyzer._Analyzer__check_tlp(), False)
AttributeError: 'Analyzer' object has no attribute '_Analyzer__check_tlp'

======================================================================
ERROR: test_check_tlp_ok (tests.test_suite_analyzer.TestTlpConfig)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jerome/Devel/TheHive-Project/cortexutils/tests/test_suite_analyzer.py", line 96, in test_check_tlp_ok
    self.assertEqual(self.analyzer._Analyzer__check_tlp(), True)
AttributeError: 'Analyzer' object has no attribute '_Analyzer__check_tlp'

======================================================================
ERROR: test_iterable (tests.test_suite_extractor.TestExtractorValidInput)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jerome/Devel/TheHive-Project/cortexutils/tests/test_suite_extractor.py", line 142, in test_iterable
    l_real = sorted(l_real, key=lambda k: k['value'])
  File "/home/jerome/Devel/TheHive-Project/cortexutils/tests/test_suite_extractor.py", line 142, in <lambda>
    l_real = sorted(l_real, key=lambda k: k['value'])
KeyError: 'value'

======================================================================
ERROR: test_output (tests.test_suite_integration.AnalyzerExtractorNoResultTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jerome/Devel/TheHive-Project/cortexutils/tests/test_suite_integration.py", line 54, in test_output
    output = self.analyzer.fpoutput.getvalue().strip()
AttributeError: 'Analyzer' object has no attribute 'fpoutput'

======================================================================
ERROR: test_output (tests.test_suite_integration.AnalyzerExtractorOutputTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jerome/Devel/TheHive-Project/cortexutils/tests/test_suite_integration.py", line 30, in test_output
    output = self.analyzer.fpoutput.getvalue().strip()
AttributeError: 'Analyzer' object has no attribute 'fpoutput'
@jeromeleonard jeromeleonard added the bug Something isn't working label Feb 24, 2021
@jeromeleonard jeromeleonard added this to the 2.1.0 milestone Feb 24, 2021
@jeromeleonard jeromeleonard self-assigned this Feb 24, 2021
jeromeleonard added a commit that referenced this issue Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant