File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,10 @@ def test_sync_with_upstream(self):
4545 branch = repository .branch ("main" )
4646 result = branch .sync_with_upstream ()
4747
48- assert (
49- result [ "message" ]
50- == "Successfully fetched and fast-forwarded from upstream python:main."
48+ msg = (
49+ "Successfully fetched and fast-forwarded"
50+ " from upstream python:main."
5151 )
52+ assert result ["message" ] == msg
5253 assert result ["merge_type" ] == "fast-forward"
5354 assert result ["base_branch" ] == "python:main"
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class TestBranchRequiresAuth(helper.UnitRequiresAuthenticationHelper):
5555 example_data = get_example_data ()
5656
5757 def test_sync_with_upstream (self ):
58- """Verify that syncing a branch with upstream requires authentication."""
58+ """Verify that branch syncing with upstream requires authentication."""
5959 self .assert_requires_auth (self .instance .sync_with_upstream )
6060
6161 def test_protect (self ):
You can’t perform that action at this time.
0 commit comments