Beispiel #1
0
 def createProfile(self):
     self.addSections(PersonalSection())
     self.addSections(AlbumSection())
Beispiel #2
0
 def createProfile(self):
     self.addSections(PersonalSection())
     self.addSections(PublicationSection())
Beispiel #3
0
 def test_class_personalSession(self):
     msg = 'Dados Pessoais'
     objeto = PersonalSection()
     assert isinstance(objeto, PersonalSection)
     assert objeto.__str__() == msg
     assert objeto.__repr__() == msg
Beispiel #4
0
 def createProfile(self):
     self.addSections(PersonalSection())
     self.addSections(UploadSection())
Beispiel #5
0
 def test_sobre_PersonalSection(self):
     objeto = PersonalSection()
     assert objeto.sobre() == "Sessao para dados pessoais"
Beispiel #6
0
 def test_instanciar_PersonalSection(self):
     objeto = PersonalSection()
     assert isinstance(objeto, PersonalSection)