205
205
def test_public_branch(self):
206
206
"""public location can be queried and set"""
207
207
branch = self.make_branch('branch')
209
208
self.assertEqual(branch.get_public_branch(), None)
210
209
branch.set_public_branch('sftp://example.com')
211
210
self.assertEqual(branch.get_public_branch(), 'sftp://example.com')