Pep8
This commit is contained in:
@@ -167,7 +167,7 @@ class ConversationCatalogTest(unittest.TestCase):
|
||||
|
||||
brains = self.catalog.searchResults(dict(
|
||||
path={'query':
|
||||
'/'.join(self.portal.doc1.getPhysicalPath()) },
|
||||
'/'.join(self.portal.doc1.getPhysicalPath())},
|
||||
portal_type="Document"
|
||||
))
|
||||
doc1_brain = brains[0]
|
||||
@@ -178,7 +178,7 @@ class ConversationCatalogTest(unittest.TestCase):
|
||||
del self.conversation[new_comment2_id]
|
||||
brains = self.catalog.searchResults(dict(
|
||||
path={'query':
|
||||
'/'.join(self.portal.doc1.getPhysicalPath()) },
|
||||
'/'.join(self.portal.doc1.getPhysicalPath())},
|
||||
portal_type="Document"
|
||||
))
|
||||
doc1_brain = brains[0]
|
||||
@@ -188,7 +188,7 @@ class ConversationCatalogTest(unittest.TestCase):
|
||||
del self.conversation[self.new_comment1_id]
|
||||
brains = self.catalog.searchResults(dict(
|
||||
path={'query':
|
||||
'/'.join(self.portal.doc1.getPhysicalPath()) },
|
||||
'/'.join(self.portal.doc1.getPhysicalPath())},
|
||||
portal_type="Document"
|
||||
))
|
||||
doc1_brain = brains[0]
|
||||
@@ -197,7 +197,7 @@ class ConversationCatalogTest(unittest.TestCase):
|
||||
def test_conversation_indexes_not_in_comments(self):
|
||||
brains = self.catalog.searchResults(dict(
|
||||
path={'query':
|
||||
'/'.join(self.portal.doc1.getPhysicalPath()) },
|
||||
'/'.join(self.portal.doc1.getPhysicalPath())},
|
||||
portal_type="Discussion Item"
|
||||
))
|
||||
comment1_brain = brains[0]
|
||||
|
||||
Reference in New Issue
Block a user