Skip to content
Snippets Groups Projects
Commit 4f9fe441 authored by Phillip Smyth's avatar Phillip Smyth
Browse files

tmp

parent f543cacb
No related branches found
No related tags found
No related merge requests found
Pipeline #31045573 failed
......@@ -93,7 +93,8 @@ def test_close_cross_junction(cli, tmpdir):
result.assert_success()
loaded = _yaml.load_data(result.output)
assert isinstance(loaded.get('workspaces'), list)
if not loaded == "No workspaces found":
assert isinstance(loaded.get('workspaces'), list)
workspaces = loaded['workspaces']
assert len(workspaces) == 0
......@@ -112,6 +113,7 @@ def test_close_all_cross_junction(cli, tmpdir):
result.assert_success()
loaded = _yaml.load_data(result.output)
assert isinstance(loaded.get('workspaces'), list)
if not loaded == "No workspaces found":
assert isinstance(loaded.get('workspaces'), list)
workspaces = loaded['workspaces']
assert len(workspaces) == 0
......@@ -178,7 +178,7 @@ class Result():
return list(pushed)
def get_pulled_elements(self):
pulled = re.findall(r'\[\s*pull:(\S+)\s*\]\s*INFO\s*Pulled artifact', self.stderr)
pulled = re.findall(r'\[\s*pull:(\S+)\s*\]\s*INFO\s*Downloaded artifact', self.stderr)
if pulled is None:
return []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment