diff options
| author | Colin Wilk <colin@wilk.cx> | 2026-06-28 23:24:21 +0200 |
|---|---|---|
| committer | Colin Wilk <colin@wilk.cx> | 2026-06-28 23:24:21 +0200 |
| commit | a0432093db76d7bb462f113d4bbeca0a8f376e95 (patch) | |
| tree | 1a7bd3659d22f07ed3d3dfc035d88913b85d37ed /molecule/default/tests/test_installation.py | |
| parent | 1143a273413e8c3df0b4c0f553eab30acb0804f8 (diff) | |
| download | ansible-role-borgbackup-a0432093db76d7bb462f113d4bbeca0a8f376e95.tar.gz ansible-role-borgbackup-a0432093db76d7bb462f113d4bbeca0a8f376e95.zip | |
Format python files with ruff
Diffstat (limited to 'molecule/default/tests/test_installation.py')
| -rw-r--r-- | molecule/default/tests/test_installation.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/molecule/default/tests/test_installation.py b/molecule/default/tests/test_installation.py index bacc320..800eba4 100644 --- a/molecule/default/tests/test_installation.py +++ b/molecule/default/tests/test_installation.py @@ -1,18 +1,18 @@ -testinfra_hosts = ['borg-client', 'borg-server', 'borg-server-2'] +testinfra_hosts = ["borg-client", "borg-server", "borg-server-2"] def test_borg_installed(host): - borg = host.package('borgbackup') + borg = host.package("borgbackup") assert borg.is_installed def test_borg_binary_exists(host): - borg = host.file('/usr/bin/borg') + borg = host.file("/usr/bin/borg") assert borg.exists assert borg.mode == 0o755 def test_borg_version(host): - c = host.run('borg --version') + c = host.run("borg --version") assert c.rc == 0 - assert 'borg' in c.stdout.lower() + assert "borg" in c.stdout.lower() |