Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Jan 31, 2022
1 parent 9baac3d commit 1aaa680
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_3corpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,14 +570,16 @@ class warp_pipelines_skylab(unittest.TestCase):

class TestBundle(unittest.TestCase):
def _t(self, doc, input=None):
bundle = WDL.Bundle.build(doc, input=input, meta={"foo":"bar"})
meta = {"foo":"bar"}
bundle = WDL.Bundle.build(doc, input=input, meta=meta)
read_source = WDL.Bundle.make_read_source(bundle)
bundled_doc = WDL.load("foobar", read_source=read_source)
assert isinstance(bundled_doc, WDL.Document)
assert (
WDL.Bundle.build(
bundled_doc,
input=WDL.CLI.sync_await(read_source(WDL.Bundle.READ_BUNDLE_INPUT, [], None)),
meta=meta
)
== bundle
)
Expand Down

0 comments on commit 1aaa680

Please sign in to comment.