File: test_verify_tools.py

package info (click to toggle)
python-briefcase 0.3.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,596 kB
  • sloc: python: 62,519; makefile: 60
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()