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