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

The Pytest log handler for Salt throws KeyError #101

Closed
s0undt3ch opened this issue Feb 17, 2022 · 0 comments
Closed

The Pytest log handler for Salt throws KeyError #101

s0undt3ch opened this issue Feb 17, 2022 · 0 comments

Comments

@s0undt3ch
Copy link
Contributor

Traceback (most recent call last):                                                                                                                                                                                  
  File "/testing/salt/loader/lazy.py", line 1106, in _process_virtual                                                                                                                                               
    virtual = self.run(virtual_attr)                                                                                                                                                                                
  File "/testing/salt/loader/lazy.py", line 1201, in run                                                  
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)                                                                                                                                   
  File "/testing/.nox/pytest-parametrized-3-crypto-none-transport-zeromq-coverage-false/lib/python3.6/site-packages/contextvars/__init__.py", line 38, in run                                                       
    return callable(*args, **kwargs)                                                                                                                                                                                
  File "/testing/salt/loader/lazy.py", line 1216, in _run_as                                                                                                                                                        
    return _func_or_method(*args, **kwargs)                                                                                                                                                                         
  File "/testing/.nox/pytest-parametrized-3-crypto-none-transport-zeromq-coverage-false/lib/python3.6/site-packages/saltfactories/utils/saltext/log_handlers/pytest_log_handler.py", line 50, in __virtual__        
    pytest_config = __opts__[pytest_key]                                                                                                                                                                            
KeyError: 'pytest-master'                                                                                                                                                                                           
[ERROR   ] Exception raised when processing __virtual__ function for salt.loaded.ext.log_handlers.pytest_log_handler. Module will not be loaded: 'pytest-master'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant