Skip to content

Commit

Permalink
Refactor tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-devop committed Jan 18, 2024
1 parent 5293d67 commit caa3d29
Show file tree
Hide file tree
Showing 43 changed files with 40 additions and 40 deletions.
Binary file modified ansible/roles/takel_anarchism/.hg/dirstate
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_base_configure_locales(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_base_install_deb_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_cleanup_check_cleanup(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_docker_system_docker_available(host):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_docker_bash_completion(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_docker_install_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_docker_preinstall_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import takeltest
import re

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_docker_repository_apt_repository_key(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


@pytest.fixture(scope='module', name='thor_file')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_gem_install_deb_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_gem_profile_files(host, testvars):
Expand Down
Binary file modified ansible/roles/takel_gopass/.hg/dirstate
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_hg_system_extension_hg_git(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_hg_configure_hggit_config(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_hg_install_deb_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
import requests

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_hugo_system_hugo_version(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_hugo_bash_completion(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_hugo_install_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
import requests

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_kubernetes_system_k3d_version(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_kubernetes_helm_tmp_targz(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_kubernetes_completion_dir(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_kubernetes_install_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_kubernetes_repository_google_keyfile(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_molecule_bash_completion(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
import requests

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_mutagen_system_mutagen_version(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_mutagen_bash_completion(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_mutagen_install_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import takeltest
import re

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_packer_system_packer_version(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_packer_bash_completion(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_packer_install_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


@pytest.fixture(name='python3')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import re
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_pip_install_deb_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


@pytest.mark.parametrize("userid", [500, 99, 1000],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pytest
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


# stop and fail if test is running for more the 60 seconds
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_takelage_tau_bash_completion(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_takelage_gnupg_gpg_config_files(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_takelage_install_packages_installed(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_takelage_profile_files(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_takelage_sudo_passwordless(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_takelage_takelscripts_entrypoint_script(host, testvars):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import takeltest

testinfra_hosts = takeltest.hosts()
testinfra_hosts = [takeltest.hosts()[0]]


def test_takel_takelage_version_file(host, testvars):
Expand Down
Binary file modified rake/ansible/.hg/dirstate
Binary file not shown.

0 comments on commit caa3d29

Please sign in to comment.