예제 #1
0
파일: tests.py 프로젝트: nijel/weblate
 def install(self):
     self.assertTrue(RemoveComments.can_install(self.component, None))
     self.assertTrue(RemoveSuggestions.can_install(self.component, None))
     RemoveSuggestions.create(
         self.component, configuration={'age': 7}
     )
     RemoveComments.create(
         self.component, configuration={'age': 7}
     )
예제 #2
0
파일: tests.py 프로젝트: mfrasca/weblate
 def install(self):
     self.assertTrue(RemoveComments.can_install(self.component, None))
     self.assertTrue(RemoveSuggestions.can_install(self.component, None))
     RemoveSuggestions.create(
         self.component, configuration={'age': 7}
     )
     RemoveComments.create(
         self.component, configuration={'age': 7}
     )