From 02f0ffd5583e5b0e915c057f693a84d477855ba8 Mon Sep 17 00:00:00 2001
From: Peter Evans <peter-evans@users.noreply.github.com>
Date: Tue, 31 Dec 2019 12:02:17 +0900
Subject: [PATCH] Update test fixture

---
 src/test_create_or_update_branch.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test_create_or_update_branch.py b/src/test_create_or_update_branch.py
index 2e2209b..fb825cb 100644
--- a/src/test_create_or_update_branch.py
+++ b/src/test_create_or_update_branch.py
@@ -93,6 +93,7 @@ def before_after_all():
     assert not repo.is_dirty(untracked_files=True)
 
     # Create a new default branch for the test run
+    repo.remotes.origin.fetch()
     repo.git.checkout("master")
     repo.git.checkout("HEAD", b=NOT_BASE_BRANCH)
     create_tracked_change()