def test_basic(self):

        # Setup the environment to use our testing toolset
        self._xpkg_cmd(['init', self.env_dir, 'test-env', '--toolset', 'Test'])

        # Make sure we can locate of packages
        os.environ[core.xpkg_tree_var] = self.tree_dir
        os.environ[core.xpkg_repo_var] = self.toolset_repo_dir

        # Install the program
        self._xpkg_cmd(['install', '--verbose', 'toolset-basic'])

        # Can we run our program
        basic_bin = os.path.join(self.env_dir, 'bin', 'basic')

        output = util.shellcmd([basic_bin], shell=False, stream=False)

        self.assertEqual('Hello, world!\n', output)
Makes sure our basic toolset package works.
dataset/ETHPy150Open jlisee/xpkg/python/tests/fulltests.py/ToolsetTests.test_basic