Esempio n. 1
0
    def _s2i_command(self, args):
        """
        return s2i command to run

        :param args: list of str, arguments and options passed to s2i binary
        :return: list of str
        """
        s2i_command_exists()
        return ["s2i"] + args
Esempio n. 2
0
def test_required_binaries_exist():
    # should work since we have all the deps installed
    assert s2i_command_exists()
    assert atomic_command_exists()
    assert getenforce_command_exists()
    assert chcon_command_exists()
    assert setfacl_command_exists()