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

[BUG] Unable to run test cases #399

Open
ryanfaircloth opened this issue May 28, 2020 · 0 comments
Open

[BUG] Unable to run test cases #399

ryanfaircloth opened this issue May 28, 2020 · 0 comments
Assignees
Labels
bug Malfunctioning Eventgen due to potential bug

Comments

@ryanfaircloth
Copy link
Contributor

Describe the bug
Unable to use pytest

To Reproduce
setup venv and run pytest

Expected behavior
Setup of develop dependencies should be adequate to test.

Actual behavior

pytest failed for missing dependency immediately in addition I suspect there area requirements for access to Splunk instances not defined

Screenshots

`================================================================================================================== ERRORS ===================================================================================================================
____________________________________________________________________________________________ ERROR collecting tests/large/test_output_plugin.py _____________________________________________________________________________________________
ImportError while importing test module '/Users/rfaircloth/Documents/GitHub/eventgen/tests/large/test_output_plugin.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/large/test_output_plugin.py:1: in
from tests.large.utils.splunk_search_util import (
E ModuleNotFoundError: No module named 'tests'
============================================================================================================= warnings summary ==============================================================================================================
venv/lib/python3.7/site-packages/_pytest/mark/structures.py:334
/Users/rfaircloth/Documents/GitHub/eventgen/venv/lib/python3.7/site-packages/_pytest/mark/structures.py:334: PytestUnknownMarkWarning: Unknown pytest.mark.large - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
PytestUnknownMarkWarning,

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==================================================================================================== 1 warnings, 1 error in 0.99 seconds ====================================================================================================

Additional context
Add any other context about the problem here.

@ryanfaircloth ryanfaircloth added the bug Malfunctioning Eventgen due to potential bug label May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Malfunctioning Eventgen due to potential bug
Projects
None yet
Development

No branches or pull requests

4 participants