Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: automation && os == 'win'
- Manifest: testing/mozbase/mozrunner/tests/manifest.toml
#!/usr/bin/env python
import mozunit
import pytest
from mozrunner import RunnerNotStartedError
def test_errors_before_start(runner):
with pytest.raises(RunnerNotStartedError):
runner.is_running()
with pytest.raises(RunnerNotStartedError):
runner.returncode
with pytest.raises(RunnerNotStartedError):
runner.wait()
if __name__ == "__main__":
mozunit.main()