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

Tests are not run properly but pass #126

Open
andistorm opened this issue Mar 28, 2024 · 0 comments
Open

Tests are not run properly but pass #126

andistorm opened this issue Mar 28, 2024 · 0 comments
Labels

Comments

@andistorm
Copy link
Contributor

Description

When using the ProbeModule in pytest tests and missing the probe_module.start() command the tests are passing, but all the cmd calls can't be made since the probe_module isn't running and everest_core is waiting for standalone modules.

How to reproduce

  1. checkout workspace-config
    workspace-config.yaml.txt
edm init --config workspace-config.yaml --workspace .
  1. build everest-core
mkdir build
cd build
cmake ../everest-core/ -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=./dist
make install everestpy_pip_install_local install_everest_testing
  1. run error history module tests
cd everest-core
pytest --everest-prefix ../build/dist/ tests/core_tests/error_history_tests.py

Expected behaviour

Both tests should fail since probe_module.start() is missing and no cmd calls can be made

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant