File: test_verify_tools.py

package info (click to toggle)
python-briefcase 0.3.22-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,300 kB
  • sloc: python: 59,405; makefile: 57
file content (10 lines) | stat: -rw-r--r-- 349 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
from briefcase.integrations.file import File
from briefcase.integrations.subprocess import Subprocess


def test_base_tools_exist(base_command):
    """Ensure default tools are always available."""
    assert isinstance(base_command.tools.subprocess, Subprocess)
    assert isinstance(base_command.tools.file, File)

    base_command.verify_tools()