Пример #1
0
    def test_changingFromMailToName(self):
        p = Person(email=self.email)
        p.name = self.name
        p.email = None

        assert p.name == self.name
        assert p.email is None
Пример #2
0
    def test_changingFromMailToName(self):
        p = Person(email=self.email)
        p.name = self.name
        p.email = None

        assert p.name == self.name
        assert p.email is None
Пример #3
0
    def test_changingFromNameToMail(self):
        p = Person(name=self.name)
        p.email = self.email
        p.name = None

        assert p.email == self.email
        assert p.name is None
Пример #4
0
    def test_changingFromNameToMail(self):
        p = Person(name=self.name)
        p.email = self.email
        p.name = None

        assert p.email == self.email
        assert p.name is None