120
122
# being too low. If rpc_count increases, more network roundtrips have
121
123
# become necessary for this use case. Please do not adjust this number
122
124
# upwards without agreement from bzr's network support maintainers.
125
129
def test_notification_on_branch_from_repository(self):
126
130
out, err = self.run_bzr("init-repository -q a")
127
131
self.assertEqual(out, "")
128
132
self.assertEqual(err, "")
130
134
dir.open_repository() # there is a repository there
131
135
e = self.assertRaises(errors.NotBranchError, dir.open_branch)
132
136
self.assertContainsRe(str(e), "location is a repository")