summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-10-22 18:30:33 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-10-22 18:30:33 +0200
commit93594c0f17ccfa9d5e62aad11da4d488721c17bf (patch)
tree16f902f1f2c994eea313adfa780a01e47cff4cda /tests
parent8f507a22a32a2141abbe00baa2f81d9f5638c4f5 (diff)
downloadtelepathy-salut-93594c0f17ccfa9d5e62aad11da4d488721c17bf.tar.gz
Allow multiple removals of the same entry
Diffstat (limited to 'tests')
-rwxr-xr-xtests/twisted/avahimock.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/twisted/avahimock.py b/tests/twisted/avahimock.py
index fa194b7a..59225511 100755
--- a/tests/twisted/avahimock.py
+++ b/tests/twisted/avahimock.py
@@ -136,9 +136,9 @@ class Model(object):
def remove_entry(self, type_, name):
entry = self._find_entry(type_, name)
-
if entry is None:
- raise ValueError('No entry for type %s and name %s' % (type_, name))
+ # Entry may have been created by more than one EntryGroup
+ return
for service_browser in self._service_browsers:
if service_browser.type == type_: