Skip to content

Commit

Permalink
Merge branch 'release_23.1' into release_23.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Jan 4, 2024
2 parents 2b90dec + d0a7562 commit bc5259f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
11 changes: 9 additions & 2 deletions lib/galaxy/tool_util/xsd/galaxy.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5406,12 +5406,20 @@ on Human (hg18)``.

<xs:group name="OutputCollectionElement">
<xs:choice>
<xs:element name="data" type="OutputData" />
<xs:element name="data" type="OutputCollectionDataElement" />
<xs:element name="discover_datasets" type="OutputCollectionDiscoverDatasets" />
<xs:element name="filter" type="OutputFilter" />
</xs:choice>
</xs:group>

<xs:complexType name="OutputCollectionDataElement">
<xs:sequence>
<xs:group ref="OutputCollectionElement" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attributeGroup ref="OutputCommon" />
<xs:attributeGroup ref="OutputDataAttributes" />
</xs:complexType>

<xs:complexType name="OutputCollection">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Expand Down Expand Up @@ -5459,7 +5467,6 @@ This tag describes an output to the tool.
</xs:annotation>
<xs:sequence>
<xs:group ref="OutputDataElement" minOccurs="0" maxOccurs="unbounded" />
<xs:group ref="OutputCollectionElement" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attributeGroup ref="OutputCommon"/>
<xs:attributeGroup ref="OutputCollectionAttributes"/>
Expand Down
18 changes: 12 additions & 6 deletions test/unit/files/test_ftp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import os

import pytest
from fs.errors import RemoteConnectionError

from ._util import (
assert_realizes_contains,
configured_file_sources,
Expand All @@ -19,12 +22,15 @@ def test_file_source_ftp_specific():
assert file_source_pair.path == test_url
assert file_source_pair.file_source.id == "test1"

assert_realizes_contains(
file_sources,
test_url,
"This is ftp.gnu.org, the FTP server of the the GNU project.",
user_context=user_context,
)
try:
assert_realizes_contains(
file_sources,
test_url,
"This is ftp.gnu.org, the FTP server of the the GNU project.",
user_context=user_context,
)
except RemoteConnectionError:
pytest.skip("ftp.gnu.org not available")


def test_file_source_ftp_generic():
Expand Down

0 comments on commit bc5259f

Please sign in to comment.