コード例 #1
0
 def testSurveyTextQuestionInterface(self):
     self.s1.invokeFactory('Survey Text Question', 'stq1')
     stq1 = getattr(self.s1, 'stq1')
     assert ISurveyTextQuestion.providedBy(stq1)
     assert verifyObject(ISurveyTextQuestion, stq1)
コード例 #2
0
 def testSurveyTextQuestionInterface(self):
     self.s1.invokeFactory('Survey Text Question', 'stq1')
     stq1 = getattr(self.s1, 'stq1')
     assert ISurveyTextQuestion.providedBy(stq1)
     assert verifyObject(ISurveyTextQuestion, stq1)
コード例 #3
0
 def testSurveyTextQuestion(self):
     assert verifyClass(ISurveyTextQuestion, SurveyTextQuestion)
     assert ISurveyTextQuestion.implementedBy(SurveyTextQuestion)
コード例 #4
0
 def testSurveyTextQuestion(self):
     assert verifyClass(ISurveyTextQuestion, SurveyTextQuestion)
     assert ISurveyTextQuestion.implementedBy(SurveyTextQuestion)