323
323
# Set the branch nick explicitly. This will ensure there's a branch
324
324
# config file in the branch.
325
325
branch.nick = "Aaron's branch"
327
326
if not isinstance(branch, remote.RemoteBranch):
330
328
# Because the nick has been set explicitly, the nick is now always
331
329
# "Aaron's branch", regardless of directory name.
332
330
self.assertEqual(branch.nick, "Aaron's branch")