Skip to content

Commit 9d75ee4

Browse files
committedMar 3, 2025·
Update test for new strings.
1 parent 06ea07a commit 9d75ee4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎tests/v2/pull.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@ def test_virl_pull_invalid_repo(self):
2121
with requests_mock.mock() as m:
2222
# Mock the request to return what we expect from the API.
2323
topo_url = "https://raw.githubusercontent.com/"
24-
topo_url += "doesnt/exist/master/topology.yaml"
24+
topo_url += "doesnt/exist/main/topology.yaml"
2525
m.get(topo_url, status_code=400)
2626
virl = self.get_virl()
2727
runner = CliRunner()
2828
result = runner.invoke(virl, ["pull", "doesnt/exist"])
29-
expected = "Pulling from doesnt/exist on branch master\nError pulling " "doesnt/exist - repo or file not found\n"
29+
expected = (
30+
"Pulling topology.yaml from doesnt/exist on branch main\nError pulling topology.yaml from doesnt/exist on branch "
31+
"main - repo, file, or branch not found\n"
32+
)
3033
self.assertEqual(result.output, expected)

0 commit comments

Comments
 (0)
Please sign in to comment.