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