def testLogfileName(self): """Test the function that determines the logfile path""" logfiledir = '/foo/bar/baz' self.assertEquals(wrap.getlogfilepath(logfiledir), '/foo/bar/baz/' + wrap.getlogin() + '.log')
def testLogin(self): """Test if can retrieve login name""" # This is actually quite difficult self.assertEquals(wrap.getlogin(),self.login)