def test_make(dir_location):
    """Test the main make.py script"""
    script_location = f"{dir_location}/src/make.py"
    child_process = subprocess.Popen([
        sys.executable, script_location,
    ])
    child_process.wait(timeout=1080)
    assert child_process.returncode == 0
Test the main make.py script
tests/test_scripts.py