Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for testing workflows with conditional steps #1387

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Sep 13, 2023

No description provided.

@lldelisle
Copy link
Contributor

This is the error:

____________________ CmdAutoupdateTestCase.test_autoupdate _____________________

self = <tests.test_cmd_autoupdate.CmdAutoupdateTestCase testMethod=test_autoupdate>

    def test_autoupdate(self):
        """Test autoupdate command."""
        with self._isolate(), create_tmp_test_tool_file("0.6.0") as xmlfile:
            autoupdate_command = ["autoupdate", xmlfile, "--conda_channels", "bioconda"]
            result = self._runner.invoke(self._cli.planemo, autoupdate_command)
>           assert f'Updating {xmlfile.split("/")[-1]} from version 0.6.0 to 0.7.3' in result.output
E           AssertionError: assert 'Updating tmpu6758fg1.xml from version 0.6.0 to 0.7.3' in 'Auto-updating tool /tmp/tmpngn8rcdd/tmpu6758fg1.xml\n/tmp/tmpngn8rcdd/tmpu6758fg1.xml could not be updated - the following error was raised: Expecting value: line 1 column 1 (char 0)\n'
E            +  where 'Auto-updating tool /tmp/tmpngn8rcdd/tmpu6758fg1.xml\n/tmp/tmpngn8rcdd/tmpu6758fg1.xml could not be updated - the following error was raised: Expecting value: line 1 column 1 (char 0)\n' = <Result okay>.output

@mvdbeek
Copy link
Member Author

mvdbeek commented Sep 14, 2023

That was temporary issue

@mvdbeek mvdbeek merged commit 0b34f34 into galaxyproject:master Sep 14, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants