Exemplo n.º 1
0
    def test_GetLastName(self):
        """

        """
        self.assertEqual(
            profUtils.getLastName(self.getProfile),
            "Kenobi")  #make sure the name was actually saved as Obi-Wan
Exemplo n.º 2
0
    def test_UpdateLastName(self):
        """

        """
        profUtils.updateLastName(self.getProfile, "General")
        self.assertEqual(
            profUtils.getLastName(self.getProfile),
            "General")  #change his name to Ben and then make sure it was saved
Exemplo n.º 3
0
    def test_UpdateLastName(self):
        """

        """
        profUtils.updateLastName (self.getProfile, "General")
        self.assertEqual (profUtils.getLastName(self.getProfile), "General") #change his name to Ben and then make sure it was saved
Exemplo n.º 4
0
    def test_GetLastName(self):
        """

        """
        self.assertEqual(profUtils.getLastName(self.getProfile), "Kenobi")  #make sure the name was actually saved as Obi-Wan