Source code for tests.nox.test_local_nox

'''
Healthy Meals Web Site
Copyright (C) 2025 David A. Taylor of Taylored Web Sites (tayloredwebsites.com)
Licensed under AGPL-3.0-only.  See https://opensource.org/license/agpl-v3/

https://github.com/tayloredwebsites/healthy-meals - tests/nox/test_local_nox.py
'''
import pytest
from subprocess import run

[docs] @pytest.mark.skip(reason="Is there any way to test this?") def test_local_nox_scripts(): '''Ensure nox scripts are working on the local server Steps: - - use curl to request a web page, and confirm it is the correct response - run the local testing command - run the local sphinx docs command - other local commands? ''' print('*** Starting tests/nox/test_local_nox.py::test_local_nox_scripts') # show starting message print('*** 1 - Start by running local server in the background (localUp)') ret = run(["nox", "-s", "localUp"]) assert ret.returncode == 0, 'Error running nox -s localUp'